Types
Properties
An immutable Color instance initialized to CSS color #FAEBD7
An immutable Color instance initialized to CSS color #7FFFD4
An immutable Color instance initialized to CSS color #FFEBCD
An immutable Color instance initialized to CSS color #8A2BE2
An immutable Color instance initialized to CSS color #7FFF00
An immutable Color instance initialized to CSS color #6495ED
An immutable Color instance initialized to CSS color #B8860B
An immutable Color instance initialized to CSS color #8B008B
An immutable Color instance initialized to CSS color #556B2F
An immutable Color instance initialized to CSS color #FF8C00
An immutable Color instance initialized to CSS color #9932CC
An immutable Color instance initialized to CSS color #E9967A
An immutable Color instance initialized to CSS color #8FBC8F
An immutable Color instance initialized to CSS color #483D8B
An immutable Color instance initialized to CSS color #2F4F4F
An immutable Color instance initialized to CSS color #2F4F4F
An immutable Color instance initialized to CSS color #00CED1
An immutable Color instance initialized to CSS color #9400D3
An immutable Color instance initialized to CSS color #00BFFF
An immutable Color instance initialized to CSS color #1E90FF
An immutable Color instance initialized to CSS color #FFFAF0
An immutable Color instance initialized to CSS color #228B22
An immutable Color instance initialized to CSS color #F8F8FF
An immutable Color instance initialized to CSS color #ADFF2F
An immutable Color instance initialized to CSS color #FFF0F5
An immutable Color instance initialized to CSS color #FFFACD
An immutable Color instance initialized to CSS color #F08080
An immutable Color instance initialized to CSS color #FAFAD2
An immutable Color instance initialized to CSS color #90EE90
An immutable Color instance initialized to CSS color #20B2AA
An immutable Color instance initialized to CSS color #87CEFA
An immutable Color instance initialized to CSS color #778899
An immutable Color instance initialized to CSS color #778899
An immutable Color instance initialized to CSS color #B0C4DE
An immutable Color instance initialized to CSS color #FFFFE0
An immutable Color instance initialized to CSS color #66CDAA
An immutable Color instance initialized to CSS color #0000CD
An immutable Color instance initialized to CSS color #BA55D3
An immutable Color instance initialized to CSS color #9370DB
An immutable Color instance initialized to CSS color #3CB371
An immutable Color instance initialized to CSS color #7B68EE
An immutable Color instance initialized to CSS color #00FA9A
An immutable Color instance initialized to CSS color #48D1CC
An immutable Color instance initialized to CSS color #C71585
An immutable Color instance initialized to CSS color #191970
An immutable Color instance initialized to CSS color #FFDEAD
The number of elements used to pack the object into an array.
An immutable Color instance initialized to CSS color #EEE8AA
An immutable Color instance initialized to CSS color #AFEEEE
An immutable Color instance initialized to CSS color #DB7093
An immutable Color instance initialized to CSS color #FFEFD5
An immutable Color instance initialized to CSS color #B0E0E6
An immutable Color instance initialized to CSS color #8B4513
An immutable Color instance initialized to CSS color #F4A460
An immutable Color instance initialized to CSS color #00FF7F
An immutable Color instance initialized to CSS transparent.
An immutable Color instance initialized to CSS color #F5F5F5
An immutable Color instance initialized to CSS color #9ACD32
Functions
Converts a 'byte' color component in the range of 0 to 255 into a 'float' color component in the range of 0 to 1.0.
Divides the provided Color componentwise by the provided scalar.
Converts a 'float' color component in the range of 0 to 1.0 into a 'byte' color component in the range of 0 to 255.
Creates a new Color specified using red, green, blue, and alpha values that are in the range of 0 to 255, converting them internally to a range of 0.0 to 1.0.
Creates a Color instance from a Cartesian4. x
, y
, z
, and w
map to red
, green
, blue
, and alpha
, respectively.
Creates a Color instance from a CSS color value.
Creates a random color using the provided options. For reproducible random colors, you should call Math.setRandomNumberSeed once at the beginning of your application.
Multiplies the provided Color componentwise by the provided scalar.
Stores the provided instance into the provided array.