rgb
Parameters
hex
An rgb hex string in the form "#ffffff" or "ffffff"
Create a color code from an RGB color.
Parameters
r
The red amount, in the range [0, 1]
g
The green amount, in the range [0, 1]
b
The blue amount, in the range [0, 1]
An rgb hex string in the form "#ffffff" or "ffffff"
Create a color code from an RGB color.
The red amount, in the range [0, 1]
The green amount, in the range [0, 1]
The blue amount, in the range [0, 1]