Page History
...
HSL is similar to RGB in that is calculate a color, but HSL components have different meaning. The H component is Hue, which is any of 255 base colors. There is generally no way to interpret what color this component might represent, but you can use MS Paint's Color Palette window to determine the value of a hue you're interested in. Why use HSL then? Because you may want to garauntee guarantee that any color be of a certain darkness or grayness. This is where the other two components come in. The S component is Saturation, or the purity of the color. When saturation is 255, then the hue is at it's purest, while a saturation level of 0 is pure gray. Any value in between is a blend of the hue with a corresponding amount of gray. The final component, L, is Luminance. A value of 255 for luminance results in pure white, while a value of 0 results in pure black. Any value in between results in a brighter or darker version of the color.
To complete the explaination explanation of static colors, here are four ways of setting the Color property to bright blue:
...
As an added convenience, you may specify any standard HTML color name. The currently available colors are listed below:
Color Name | Color | ||||||||
---|---|---|---|---|---|---|---|---|---|
AliceBlue |
| ||||||||
AntiqueWhite |
| ||||||||
Aqua |
| ||||||||
Aquamarine |
| ||||||||
Azure |
| ||||||||
Beige |
| ||||||||
Bisque |
| ||||||||
Black |
| ||||||||
BlueBlanchedAlmond |
| ||||||||
BlueBrown |
| ||||||||
BlueVioletCadetBlue |
| ||||||||
BrownChocolate |
| ||||||||
BurlyWoodCornflowerBlue |
| ||||||||
CadetBlueCrimson |
| ||||||||
Chartreuse |
| ||||||||
DarkGoldenRodChocolate |
| ||||||||
CoralDarkGrey |
| ||||||||
CornflowerBlueDarkKhaki |
| ||||||||
CornsilkDarkOliveGreen |
| ||||||||
CrimsonDarkOrchid |
| ||||||||
CyanDarkSalmon |
| ||||||||
DarkBlue |
| ||||||||
DarkSlateGreyDarkCyan |
| ||||||||
DarkGoldenRodDarkViolet |
| ||||||||
DarkGrayDeepSkyBlue |
| ||||||||
DarkGreyDimGrey |
| ||||||||
DarkGreenFireBrick |
| ||||||||
DarkKhakiForestGreen |
| ||||||||
DarkMagenta |
| ||||||||
GoldDarkOliveGreen |
| ||||||||
DarkOrangeGray |
| ||||||||
DarkOrchidGreen |
| ||||||||
DarkRedHoneyDew |
| ||||||||
DarkSalmonIndianRed |
| ||||||||
DarkSeaGreenIvory |
| ||||||||
DarkSlateBlue |
| ||||||||
LawnGreenDarkSlateGray |
| ||||||||
DarkSlateGreyLightBlue |
| ||||||||
DarkTurquoiseLightCyan |
| ||||||||
DarkVioletLightGray |
| ||||||||
DeepPinkLightGreen |
| ||||||||
DeepSkyBlueLightSalmon |
| ||||||||
DimGray |
| ||||||||
LightSlateGreyDimGrey |
| ||||||||
DodgerBlueLightYellow |
| ||||||||
FireBrickLimeGreen |
| ||||||||
FloralWhiteMagenta |
| ||||||||
ForestGreenMediumAquaMarine |
| ||||||||
FuchsiaMediumOrchid |
| ||||||||
Gainsboro |
| ||||||||
MediumSpringGreenGhostWhite |
| ||||||||
GoldMediumVioletRed |
| ||||||||
GoldenRodMintCream |
| ||||||||
GrayMoccasin |
| ||||||||
GreyNavy |
| ||||||||
GreenOlive |
| ||||||||
GreenYellow |
| ||||||||
OrchidHoneyDew |
| ||||||||
HotPinkPaleGreen |
| ||||||||
IndianRedPaleVioletRed |
| ||||||||
IndigoPeachPuff |
| ||||||||
IvoryPink |
| ||||||||
KhakiPowderBlue |
| ||||||||
Lavender |
| ||||||||
RoyalBlueLavenderBlush |
| ||||||||
LawnGreenSalmon |
| ||||||||
LemonChiffonSeaGreen |
| ||||||||
LightBlueSienna |
| ||||||||
LightCoralSkyBlue |
| ||||||||
LightCyanSlateGray |
| ||||||||
LightGoldenRodYellow |
| ||||||||
SpringGreen | |||||||||
SteelBlue | |||||||||
Tan | |||||||||
Teal | |||||||||
Thistle | |||||||||
Tomato | |||||||||
Turquoise | |||||||||
Wheat | |||||||||
White | |||||||||
Yellow | |||||||||
WhiteSmoke | |||||||||
| |||||||||
LightGray |
| ||||||||
LightGrey |
| ||||||||
LightGreen |
| ||||||||
LightPink |
| ||||||||
LightSalmon |
| ||||||||
LightSeaGreen |
| ||||||||
LightSkyBlue |
| ||||||||
LightSlateGray |
| ||||||||
LightSlateGrey |
| ||||||||
LightSteelBlue |
| ||||||||
LightYellow |
| ||||||||
Lime |
| ||||||||
LimeGreen |
| ||||||||
Linen |
| ||||||||
Magenta |
| ||||||||
Maroon |
| ||||||||
MediumAquaMarine |
| ||||||||
MediumBlue |
| ||||||||
MediumOrchid |
| ||||||||
MediumPurple |
| ||||||||
MediumSeaGreen |
| ||||||||
MediumSlateBlue |
| ||||||||
MediumSpringGreen |
| ||||||||
MediumTurquoise |
| ||||||||
MediumVioletRed |
| ||||||||
MidnightBlue |
| ||||||||
MintCream |
| ||||||||
MistyRose |
| ||||||||
Moccasin |
| ||||||||
NavajoWhite |
| ||||||||
Navy |
| ||||||||
OldLace |
| ||||||||
Olive |
| ||||||||
OliveDrab |
| ||||||||
Orange |
| ||||||||
OrangeRed |
| ||||||||
Orchid |
| ||||||||
PaleGoldenRod |
| ||||||||
PaleGreen |
| ||||||||
PaleTurquoise |
| ||||||||
PaleVioletRed |
| ||||||||
PapayaWhip |
| ||||||||
PeachPuff |
| ||||||||
Peru |
| ||||||||
Pink |
| ||||||||
Plum |
| ||||||||
PowderBlue |
| ||||||||
Purple |
| ||||||||
Red |
| ||||||||
RosyBrown |
| ||||||||
RoyalBlue |
| ||||||||
SaddleBrown |
| ||||||||
Salmon |
| ||||||||
SandyBrown |
| ||||||||
SeaGreen |
| ||||||||
SeaShell |
| ||||||||
Sienna |
| ||||||||
Silver |
| ||||||||
SkyBlue |
| ||||||||
SlateBlue |
| ||||||||
SlateGray |
| ||||||||
SlateGrey |
| ||||||||
Snow |
| ||||||||
SpringGreen |
| ||||||||
SteelBlue |
| ||||||||
Tan |
| ||||||||
Teal |
| ||||||||
Thistle |
| ||||||||
Tomato |
| ||||||||
Turquoise |
| ||||||||
Wheat |
| ||||||||
White |
| ||||||||
Yellow |
| ||||||||
WhiteSmoke |
| ||||||||
YellowGreen |
|
Color Modifiers
System and HTML colors are great for basic look and feel, but you may want to only use these predefined colors as a base while still having the flexibility to achieve the look and feel you desire without sacrificing conformity to these colors. For instance, you may want to use the system highlight color for selected cells in the SRP OLE EditTable, but you may also want it to always be light enough to display black text in front of it. Color modifiers provide the means to achieve this and other effects. The color modifier format is:
...