Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Latest commit

 

History

History
60 lines (36 loc) · 949 Bytes

Conversions.md

File metadata and controls

60 lines (36 loc) · 949 Bytes

Supported Conversions


Output

The HSL(A) output is within the following ranges.


Hue Saturation Lightness Alpha
0 - 360 0 - 100 0 - 100 0 - 255


RGB ( A )

All channels are integers in the range of  0 - 255


RGB RGBA
Array ( [ R , G , B ] ) ( [ R , G , B , A ] )


Hex ( + Alpha )

All channels are integers in the range of  0 - FF


Hex Hex (Alpha)
Single #RGB #RGBA
Double #RRGGBB #RRGGBBAA

#  is optional.



CMYK ( A )

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 ] )