ColorType
[Previous] [Main] [Next]

 
typedef unsigned long ColorType ;  
 
Color values are specified using a six-digit hexadecimal RGB notation (24 bits), which html++ stores as a long integer. The first two digits indicate the red value, the second two digits indicate the green value, and the last two digits indicate the blue value. The range for each color value is 00h to FFh (0-255d).  
 
When outputting colors as HTML code, html++ converts the integers to a string, preceded by a pound (#) sign.  
 
See Also
RGB Color Codes  


©1998 DC Micro Development. All rights reserved.
No portion of this document may be c opied or reproduced without expressed written consent.
html++ is a trademark of DC Micro Development.