name | type | description |
---|---|---|
r | number |
The red color value in the range 0 to 255. |
g | number |
The green color value in the range 0 to 255. |
b | number |
The blue color value in the range 0 to 255. |
a | number |
The alpha color value in the range 0 to 255. |
color | number |
The combined color value. |
name | type | description |
---|---|---|
h | number |
The hue color value. A number between 0 and 1 |
s | number |
The saturation color value. A number between 0 and 1 |
v | number |
The lightness color value. A number between 0 and 1 |
name | type | arguments | description |
---|---|---|---|
r | number | <optional> |
The red color value in the range 0 to 255. |
g | number | <optional> |
The green color value in the range 0 to 255. |
b | number | <optional> |
The blue color value in the range 0 to 255. |
a | number | <optional> |
The alpha color value in the range 0 to 255. |