wp_tinycolor_rgb_to_rgb


wp_tinycolor_rgb_to_rgb ( $rgb_color )

Access:
  • private
Parameters:
  • (array) rgb_color RGB object.
Links:
Returns:
  • (array) Rounded and converted RGB object.
Defined at:

Description

Rounds and converts values of an RGB object.Direct port of TinyColor's function, lightly simplified to maintain consistency with TinyColor.

Related Functions

wp_tinycolor_string_to_rgb, wp_tinycolor_hue_to_rgb, wp_tinycolor_hsl_to_rgb, wp_tinycolor_bound01, _wp_tinycolor_bound_alpha

Top Google Results

User discussions

wpseek mobile