color.hsla()
Categories: CSS | Color Object
color.hsla()Returns: Array
Plugin: jQuery.color
Description: Get the "hsla" component of the color.
-
color.hsla()
version added: 1.2
Returns a "rgba" tuple [ hue, saturation, lightness, alpha ]
.
color.hsla( hue, saturation, lightness, alpha )Returns: Color
Plugin: jQuery.color
Description: Set the "hsla" component of the color.
-
color.hsla( hue, saturation, lightness, alpha )
version added: 1.2hue A valid hue value (Integer 0 - 359).
saturation A valid saturation value (Number 0.0 - 1.0).
lightness A valid lightness value (Number 0.0 - 1.0).
alpha A valid alpha transparency value (Number 0.0 - 1.0).
-
color.hsla( hsla )
version added: 1.2hsla A hsla color map. Example: { hue: hue, saturation: saturation, lightness: lightness, alpha: alpha }.
-
color.hsla( hsla )
version added: 1.2rgba A hsla color tuple. Example: [ hue, saturation, lightness, alpha ].
Returns a copy of the color with any defined values set to the new value.