$color

From Scriptwiki
Jump to: navigation, search

$color(name/N)

Returns the Nth color index of the specified color name eg. $color(action text). If you don't specify the full name the first partial match is returned eg. $color(action)

If you specify an N value, returns the RGB value for the Nth color box. Properties: dd $color(action).dd returns number in double-digit format (08 instead of 8).