Algosim documentation: GetRGB

GetRGB

Returns the RGB coordinates of a colour.

Syntax

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

See also