Method | Defined By | ||
---|---|---|---|
CMYKtoRGB(c:Number, m:Number, y:Number, k:Number):Array [static]
RGB from each of the CMYK values to determine a return as an array. | ColorUtils | ||
colorTransform(rgb:uint = 0, amount:Number = 1.0, alpha:Number = 1.0):ColorTransform [static]
RGBColorTransform Create an instance of the information. | ColorUtils | ||
getOctalString(rgb:Array):String [static]
Gets the octal value of the RGB value as a string
| ColorUtils | ||
getRGBHex(rgb:Array):String [static]
Gets the 6 character string representing the RGB
| ColorUtils | ||
getUint(rgb:Array):uint [static]
Gets the hex/oct value of the RGB object as uint
| ColorUtils | ||
max(col1:uint, col2:uint):uint [static]
Comparison (light). | ColorUtils | ||
min(col1:uint, col2:uint):uint [static]
Comparison (dark). | ColorUtils | ||
randomColor():uint [static]
Returns a random color as uint
| ColorUtils | ||
rgb(r:uint, g:uint, b:uint):uint [static]
Values calculated from each RGB RGB color value. | ColorUtils | ||
rgbSubtract(col1:uint, col2:uint):Array [static] | ColorUtils | ||
RGBtoCMYK(r:Number, g:Number, b:Number):Array [static]
RGB from the respective figures, HSV sequences in terms of returns. | ColorUtils | ||
setByHex(hex:uint):Array [static]
Sets the RGB value based on a hex/oct value hex as uint
| ColorUtils | ||
sub(col1:uint, col2:uint):uint [static]
Subtractive. | ColorUtils | ||
subtract(col1:uint, col2:uint):uint [static]
Subtraction. | ColorUtils | ||
sum(col1:uint, col2:uint):uint [static]
Additive color. | ColorUtils | ||
toRGB(rgb:uint):Array [static]
RGB figures show (0x000000 0xFFFFFF up from) the
R, G, B returns an array divided into a number from 0 to 255, respectively. | ColorUtils | ||
uintToRGBHex(hex:uint):String [static]
Gets a 6 character string representing the RGB
| ColorUtils |
CMYKtoRGB | () | method |
public static function CMYKtoRGB(c:Number, m:Number, y:Number, k:Number):Array
RGB from each of the CMYK values to determine a return as an array. CMYK values are as follows. C - a number between 0 to 255 representing cyan M - number between 0 to 255 representing magenta Y - number between 0 to 255 representing yellow K - number between 0 to 255 representing black
Parameters
c:Number | |
m:Number | |
y:Number | |
k:Number |
Array |
colorTransform | () | method |
public static function colorTransform(rgb:uint = 0, amount:Number = 1.0, alpha:Number = 1.0):ColorTransform
RGBColorTransform Create an instance of the information.
Parameters
rgb:uint (default = 0 ) — RGB integer value that indicates (0x000000 - 0xFFFFFF)
| |
amount:Number (default = 1.0 ) — of fill adaptive value (0.0 - 1.0)
| |
alpha:Number (default = 1.0 ) — transparency (0.0 - 1.0)
|
ColorTransform — a new instance ColorTransform
|
getOctalString | () | method |
public static function getOctalString(rgb:Array):String
Gets the octal value of the RGB value as a string
Parameters
rgb:Array |
String — the octal value of the RGB object as a string
|
getRGBHex | () | method |
public static function getRGBHex(rgb:Array):String
Gets the 6 character string representing the RGB
Parameters
rgb:Array |
String — a 6 character string representing the RGB
|
getUint | () | method |
public static function getUint(rgb:Array):uint
Gets the hex/oct value of the RGB object as uint
Parameters
rgb:Array |
uint — the hex/oct value of the RGB object as uint
|
max | () | method |
public static function max(col1:uint, col2:uint):uint
Comparison (light). 2 RGB single number that indicates (0x000000 0xFFFFFF up from) to compare, RGB values combined with higher returns to their numbers.
Parameters
col1:uint — RGB numbers show (0x000000 0xFFFFFF up from)
| |
col2:uint — RGB numbers show (0x000000 0xFFFFFF up from)
|
uint — comparison (light) value
|
min | () | method |
public static function min(col1:uint, col2:uint):uint
Comparison (dark). 2 RGB single number that indicates (0x000000 0xFFFFFF up from) to compare, RGB lower combined returns a numeric value for each number.
Parameters
col1:uint — RGB numbers show (0x000000 0xFFFFFF up from)
| |
col2:uint — RGB numbers show (0x000000 0xFFFFFF up from)
|
uint — comparison (dark) values
|
randomColor | () | method |
public static function randomColor():uint
Returns a random color as uint
Returnsuint |
rgb | () | method |
public static function rgb(r:uint, g:uint, b:uint):uint
Values calculated from each RGB RGB color value.
Parameters
r:uint — the red (R) indicating the number (0-255)
| |
g:uint — green (G) indicates the number (0-255)
| |
b:uint — blue (B) shows the number (0-255)
|
uint — obtained from the RGB color value for each indicating the number
|
rgbSubtract | () | method |
public static function rgbSubtract(col1:uint, col2:uint):Array
Parameters
col1:uint | |
col2:uint |
Array |
RGBtoCMYK | () | method |
public static function RGBtoCMYK(r:Number, g:Number, b:Number):Array
RGB from the respective figures, HSV sequences in terms of returns. RGB values are as follows. R - a number from 0 to 255 G - a number from 0 to 255 B - a number from 0 to 255 CMYK values are as follows. C - a number between 0 to 255 representing cyan M - number between 0 to 255 representing magenta Y - number between 0 to 255 representing yellow K - number between 0 to 255 representing black Can not compute, including alpha.
Parameters
r:Number — the red (R) indicating the number (0x00 to 0xFF to)
| |
g:Number — green (G) indicates the number (0x00 to 0xFF to)
| |
b:Number — blue (B) shows the number (0x00 to 0xFF to)
|
Array — CMYK values into an array of [H, S, V]
|
setByHex | () | method |
public static function setByHex(hex:uint):Array
Sets the RGB value based on a hex/oct value hex as uint
Parameters
hex:uint — the hex/oct value of the RGB object.
|
Array |
sub | () | method |
public static function sub(col1:uint, col2:uint):uint
Subtractive. 2 RGB single number that indicates (0x000000 0xFFFFFF up from) Returns the value of the subtractive color.
Parameters
col1:uint — RGB numbers show (0x000000 0xFFFFFF up from)
| |
col2:uint — RGB numbers show (0x000000 0xFFFFFF up from)
|
uint — the subtractive
|
subtract | () | method |
public static function subtract(col1:uint, col2:uint):uint
Subtraction. 2 RGB single number that indicates (0x000000 0xFFFFFF up from) is subtracted from the return numbers.
Parameters
col1:uint — RGB numbers show (0x000000 0xFFFFFF up from)
| |
col2:uint — RGB numbers show (0x000000 0xFFFFFF up from)
|
uint — value subtracted Blend
|
sum | () | method |
public static function sum(col1:uint, col2:uint):uint
Additive color. 2 RGB single number that indicates (0x000000 0xFFFFFF up from) Returns the value of the additive mixture.
Parameters
col1:uint — RGB numbers show (0x000000 0xFFFFFF up from)
| |
col2:uint — RGB numbers show (0x000000 0xFFFFFF up from)
|
uint — the additive color
|
toRGB | () | method |
public static function toRGB(rgb:uint):Array
RGB figures show (0x000000 0xFFFFFF up from) the R, G, B returns an array divided into a number from 0 to 255, respectively.
Parameters
rgb:uint — RGB numbers show (0x000000 0xFFFFFF up from)
|
Array — array indicates the value of each color [R, G, B]
|
uintToRGBHex | () | method |
public static function uintToRGBHex(hex:uint):String
Gets a 6 character string representing the RGB
Parameters
hex:uint — RGB hex/oct value as uint
|
String — a 6 character string representing the RGB hex/oct value in inputed in uint for as hex
|