wp_tinycolor_hue_to_rgb


wp_tinycolor_hue_to_rgb ( $p, $q, $t )

Access:
  • private
Parameters:
  • (float) p first component.
  • (float) q second component.
  • (float) t third component.
See:
Returns:
  • (float) R, G, or B component.
Defined at:

Description

Helper function for hsl to rgb conversion.Direct port of TinyColor's function, lightly simplified to maintain consistency with TinyColor.

Related Functions

wp_tinycolor_hsl_to_rgb, wp_tinycolor_rgb_to_rgb, wp_tinycolor_string_to_rgb, wp_tinycolor_bound01, wp_color_scheme_settings

Top Google Results

User discussions

wpseek mobile