Colors
When creating rich text content to play back in other applications, there are a number of color options to choose from. These options are described below. This first chart lists the colors that map to the closest matching color in the system palette.
Program Color |
Matching System Palette Color |
clNone |
White on Windows 9x, Black on NT |
clBlack |
Black |
clMaroon |
Maroon |
clGreen |
Green |
clOlive |
Olive green |
clNavy |
Navy blue |
clPurple |
Purple |
clTeal |
Teal |
clGray |
Gray |
clSilver |
Silver |
clRed |
Red |
clLime |
Lime green |
clYellow |
Yellow |
clBlue |
Blue |
clFuchsia |
Fuchsia |
clAqua |
Aqua |
clWhite |
White |
clMoneyGreen |
Mint green |
clSkyBlue |
Sky blue |
clCream |
Cream |
clMedGray |
Medium Gray |
The chart below lists the colors defined in the Color section of the Windows Control panel.
Program Option |
Description |
cl3DDkShadow |
Dark shadow for three-dimensional display elements Windows 95 or NT 4.0 only |
cl3DLight |
Light color for three-dimensional display elements (for edges facing the light source) Windows 95 or NT 4.0 only |
clActiveBorder |
Border color of the active window |
clActiveCaption |
Color of the title bar of the active window |
clAppWorkSpace |
Color of the application workspace |
clBackground |
Background color of the Windows desktop |
clBtnFace |
Color of a button face |
clBtnHighlight |
Color of the highlighting on a button |
clBtnShadow |
Color of a shadow cast by a button |
clBtnText |
Color of text on a button |
clCaptionText |
Color of the text on the title bar of the active window |
clDefault |
The default color for the control to which the color is assigned. |
clGradientActiveCaption |
Right side color in the color gradient of an active window's title bar. clActiveCaption specifies the left side color. Windows 98 or Windows 2000 |
clGradientInactiveCaption |
Right side color in the color gradient of an inactive window's title bar. clInactiveCaption specifies the left side color. Windows 98 or Windows 2000 |
clGrayText |
Color of text that is dimmed |
clHotLight |
Color of a Hot Track item |
clHighlight |
Background color of selected text |
clHightlightText |
Color of selected text |
clInactiveBorder |
Border color of inactive windows |
clInactiveCaption |
Color of the title bar of inactive windows |
clInactiveCaptionText |
Color of the text on the title bar of an inactive window |
clInfoBk |
Background color for tool tip controls |
clInfoText |
Text color for tool tip controls |
clMenu |
Background color of menus |
clMenuBar |
Color of the menu bar |
clMenuHighlight |
Color of highlighted text on menus |
clMenuText |
Color of text on menus |
clScrollBar |
Color for the of scroll bar track |
clWindow |
Background color of windows |
clWindowFrame |
Color of window frames |
clWindowText |
Color of text in windows |