Difference between revisions of "$color"

From Scriptwiki
Jump to: navigation, search
m
 
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 11: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).