|
Writing colors
You can use:
Constants:
clAqua, clBlack,
clBlue, clCream, clDkGray, clFuchsia, clGray, clGreen, clLime,
clLtGray, clMaroon, clMedGray, clMoneyGreen, clNavy, clOlive,
clPurple, clRed, clSilver, clSkyBlue, clTeal, clWhite, clYellow.
Note: "Dk" stands for dark, "Lt" stands
for light, and "Med" stands for medium.
4-byte hexadecimal
numbers:
The low three bytes
represent RGB color intensities for blue, green, and red, respectively.
The value $00FF0000 represents full-intensity, pure blue, $0000FF00
is pure green, and $000000FF is pure red.
$00000000 is black and $00FFFFFF is white.
If the highest-order
byte is zero ($00), the color obtained is the closest matching
color in the system palette.
If this byte is one ($01), the color obtained is the closest
matching color in the currently realized palette.
If this byte is two ($02), the value is matched with the nearest
color in the logical palette of the current device context.
|