toCSS( \'hex\' )' ); return Business_Class_Customizer_Color::sanitize_hex( $color ); } } if ( ! function_exists( 'business_class_customizer_get_rgb' ) ) { function business_class_customizer_get_rgb( $hex, $implode = false ) { _deprecated_function( __FUNCTION__, '1.0.0', 'ariColor::newColor( $color )->toCSS( \'rgb\' )' ); return Business_Class_Customizer_Color::get_rgb( $hex, $implode ); } } if ( ! function_exists( 'business_class_customizer_get_rgba' ) ) { function business_class_customizer_get_rgba( $hex = '#fff', $opacity = 100 ) { _deprecated_function( __FUNCTION__, '1.0.0', 'ariColor::newColor( $color )->toCSS( \'rgba\' )' ); return Business_Class_Customizer_Color::get_rgba( $hex, $opacity ); } } if ( ! function_exists( 'business_class_customizer_get_brightness' ) ) { function business_class_customizer_get_brightness( $hex ) { _deprecated_function( __FUNCTION__, '1.0.0', 'ariColor::newColor( $color )->lightness' ); return Business_Class_Customizer_Color::get_brightness( $hex ); } } if ( ! function_exists( 'Business_Class_Customizer' ) ) { function Business_Class_Customizer() { return business_class_customizer(); } }