color.saturation()
Categories: CSS | Color Object
color.saturation()Returns: Integer
Plugin: jQuery.color
Description: Get the "saturation" component of the color.
-
color.saturation()
version added: 1.2
Returns the "saturation" component of the color ( Number from 0.0 - 1.0 ).
color.saturation( value )Returns: Color
Plugin: jQuery.color
Description: Set the "saturation" component of the color.
-
color.saturation( value )
version added: 1.2value A value for the "saturation" component of the color ( Number from 0.0 - 1.0 ).
Returns a copy of the color object with the saturation set to val. For increase or decrease the value can also take a string in the format of "+=0.1" or "-=0.1".