Class Index | File Index | UML

Classes


Built-In Namespace _global_


UML

Method Summary
Method Attributes Method Name and Description
 
Get a valid CSS color representation of the color without an alpha value.
 
Get a valid CSS color representation of the color, including the alpha value.
 
Get the standard RGB hex representation of the color.
Method Detail
{String} toCSS()
Get a valid CSS color representation of the color without an alpha value.
Defined in: RGB.js.
Returns:
{String} The CSS color string, e.g. "rgb(123, 2, 202)"

{String} toCSSWithAlpha()
Get a valid CSS color representation of the color, including the alpha value.
Defined in: RGB.js.
Returns:
{String} The CSS color string, e.g. "rgba(123, 2, 202, 0.253)"

{String} toHex()
Get the standard RGB hex representation of the color.
Defined in: RGB.js.
Returns:
{String} The hex string, e.g. "#f681df"

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Oct 17 2011 19:23:47 GMT+0200 (CEST)