Categories

color.green()

Categories: CSS | Color Object

color.green()Returns: Color

Plugin: jQuery.color

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

  • color.green()

    version added: 1.2
  • color.green( value )

    version added: 1.2

    value   A value for the "green" component of the color ( Integer from 0 - 255 ).

The .green() method is a setter and getter of the "green" component of the color.

The getter returns the "green" component of the color ( Integer from 0 - 255 ). The setter returns a copy of the color object with the green set to val. For increase or decrease the value can also take a string in the format of "+=1" or "-=1".

color.green()Returns: Integer

Plugin: jQuery.color

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

  • color.green()

    version added: 1.2

Returns the "green" component of the color ( Integer from 0 - 255 ).