$color: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
mNo edit summary
 
m added category
 
Line 6: Line 6:
Properties: dd
Properties: dd
$color(action).dd returns number in double-digit format (08 instead of 8).
$color(action).dd returns number in double-digit format (08 instead of 8).
[[Category:Identifiers]]

Latest revision as of 10:02, 2 July 2007

$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).