The HSL(A) output is within the following ranges.
Hue | Saturation | Lightness | Alpha |
---|---|---|---|
0 - 360 |
0 - 100 |
0 - 100 |
0 - 255 |
All channels are integers in the range of 0 - 255
RGB | RGBA | |
---|---|---|
Array | ( [ R , G , B ] ) | ( [ R , G , B , A ] ) |
All channels are integers in the range of 0 - FF
Hex | Hex (Alpha) | |
---|---|---|
Single | #RGB |
#RGBA |
Double | #RRGGBB |
#RRGGBBAA |
#
is optional.
All channels are decimals of 0 - 100
except for the alpha channel 0 - 255
CMYK | CMYKA | |
---|---|---|
Array | ( [ C , M , Y , K ] ) | ( [ C , M , Y , K , A ] ) |