The RGB(A) output is within the following ranges.
Red | Green | Blue | Alpha |
---|---|---|---|
0 - 255 |
0 - 255 |
0 - 255 |
0 - 255 |
All channels are integers in the range of 0 - FF
Hex | Hex (Alpha) | |
---|---|---|
Single | #RGB |
#RGBA |
Double | #RRGGBB |
#RRGGBBAA |
#
is optional.
Hue ranges from 0 - 360
, all others range from 0 - 255
HSL | HSLA | |
---|---|---|
Array | ( [ H , S , L ] ) | ( [ H , S , L , A ] ) |