Class Color

Object
   |
   +--Color

class Color

Defined in color.js


Field Summary
 Object b
          
 Object Desaturated
          
 Object g
          
 Object Luminosity
          
 Object r
          
 
Constructor Summary
Color(r, g, b)
           
 
Method Summary
 Object hs(nStr)
          
 Object hsl()
           Converts an RGB color value to HSL.
 Object hslToRgb(h, s, l)
           Converts an HSL color value to RGB.
 Object hsv()
           Converts an RGB color value to HSV.
 Object hsvToRgb(h, s, v)
           Converts an HSV color value to RGB.
 Object lightColor()
           Provide
 Object toString()
          
 void update(r, g, b)
          

Field Detail

b

Object b

Desaturated

Object Desaturated

g

Object g

Luminosity

Object Luminosity

r

Object r

Constructor Detail

Color

Color(r, g, b)

Method Detail

hs

Object hs(nStr)

hsl

Object hsl()

hslToRgb

Object hslToRgb(h, s, l)

hsv

Object hsv()

hsvToRgb

Object hsvToRgb(h, s, v)

lightColor

Object lightColor()

toString

Object toString()

update

void update(r, g, b)


Documentation generated by JSDoc on Wed Jun 23 09:33:14 2010