Customizing the metamodel > Keywords for USRPROPS > FONT COLOR
  
FONT COLOR
The FONT COLOR keyword in a List statement specifies the default font color for a symbol. The FONT COLOR keyword has three parameters which together define the resulting solid color. Each color parameter can have a value of 0 to 255.
Syntax
Value "X" depictions { FONT COLOR {X, Y, Z} }
where X, Y, and Z are a value from 0 through 255. The value X specifies how much red is contained in the color; the value Y specifies how much green is contained in the color; the value Z specifies how much blue is contained in the color.
For example, {255 0 0} is pure red; {0 255 0} is pure green, and {0 0 255} is pure blue. Various other combinations can be specified to obtain respective color shadings.
Example
To specify that a computer symbol of type ‘laptop’ is by default drawn with red text for its name, and that a computer symbol stereotyped as a ‘host’ is by default drawn with green text, specify these entries:
List "Computer Stereotypes"
{
Value "Laptop"
depictions {diagram images\laptop.wmf
menu images\laptop.bmp
font color {255, 0, 0}
}
Value "Host"
depictions {diagram images\host.wmf
menu images\host.bmp
font color {0, 255, 0}
}
}
See also
FILL COLOR
PEN COLOR
Keywords for USRPROPS