GetRGB
Returns the RGB coordinates of a colour.
Syntax
-
GetRGB(c)
-
c
is a colour
-
Description
If c
is a colour, then GetRGB(c)
returns a structure with the RGB components of c
.
Examples
GetRGB("gold")
red: 1 green: 0.843137254902 blue: 0