Categories

color.hue()

Categories: CSS | Color Object

color.hue()Returns: Integer

Plugin: jQuery.color

Description: Get the "hue" component of the color.

  • color.hue()

    version added: 1.2

Returns the "hue" component of the color ( Integer from 0 - 359 ).

color.hue( value )Returns: Color

Plugin: jQuery.color

Description: Set the "hue" component of the color.

  • color.hue( value )

    version added: 1.2

    value   A value for the "hue" component of the color ( Integer from 0 - 359 ).

Returns a copy of the color object with the hue set to val. For increase or decrease the value can also take a string in the format of "+=1" or "-=1".