woocommerce_rgb_from_hex

The WooCommerce woocommerce rgb from hex function.

Description

woocommerce_rgb_from_hex( $color ); 

Parameters (1)

0. $color
The color.

Usage

  1. if ( !function_exists( 'woocommerce_rgb_from_hex' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-deprecated-functions.php'; 
  3.  
  4. // The color. 
  5. $color = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = woocommerce_rgb_from_hex($color); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-deprecated-functions.php  
  1. function woocommerce_rgb_from_hex( $color ) { 
  2. wc_deprecated_function( __FUNCTION__, '3.0', 'wc_rgb_from_hex' ); 
  3. return wc_rgb_from_hex( $color );