Namespace: ColorMethods

jGraduate~jQuery.jPicker.ColorMethods

Color conversion methods - make public to give use to external scripts.

Source:

Methods

(static) hexToInt(hex) → {Integer}

Parameters:
Name Type Description
hex string
Source:
Returns:
Type
Integer

(static) hexToRgba(hex) → {module:jPicker.RGBA}

Parameters:
Name Type Description
hex string
Source:
Returns:
Type
module:jPicker.RGBA

(static) hsvToRgb(hsv) → {module:jPicker.RGB}

Parameters:
Name Type Description
hsv module:jPicker.HSV
Source:
Returns:
Type
module:jPicker.RGB

(static) intToHex(dec) → {string}

Parameters:
Name Type Description
dec Integer
Source:
Returns:
Type
string

(static) rgbaToHex(rgba) → {string}

Parameters:
Name Type Description
rgba module:jPicker.RGBA
Source:
Returns:
Type
string

(static) rgbToHsv(rgb) → {module:jPicker.HSV}

Parameters:
Name Type Description
rgb module:jPicker.RGB
Source:
Returns:
Type
module:jPicker.HSV

(static) validateHex(hex) → {string}

Parameters:
Name Type Description
hex string
Source:
Returns:
Type
string