_wp_tinycolor_bound_alpha


_wp_tinycolor_bound_alpha ( $n )

Access:
  • private
Parameters:
  • (mixed) n Number of unknown type.
See:
Returns:
  • (float) Value in the range [0,1].
Defined at:

Description

Direct port of tinycolor's boundAlpha function to maintain consistency with how tinycolor works.

Related Functions

wp_tinycolor_bound01, wp_tinycolor_rgb_to_rgb, wp_tinycolor_string_to_rgb, wp_tinycolor_hsl_to_rgb, wp_tinycolor_hue_to_rgb

Top Google Results

User discussions

wpseek mobile