rgb

rgb(red: number, green: number, blue: number) 🡒 text, const pure function

Returns the hex color code based on a triplet of number values in the closed interval [0,1].

show scalar "" with rgb(0.1, 0.2, 0.4) // '#193366'

The color code is compatible with StyleCode.

User Contributed Notes
0 notes + add a note