Provides access to members that control the HLS color model.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
IHlsColor maintains information about a Color by using the HLS (Hue, Saturation, Lightness) color model. This color model is similar to the HSV color model, however, HLS colors use Lightness instead of Value. The Hue property may be set to a number between 0 and 360, indicating in degrees where the hue lies on the color wheel. The Saturation property is a number between 0 and 100 indicating the saturation, or purity, of the color, and the Lightness property is a number between 0 and 100 indicating the lightness, or paleness, of a color. Regardless of other properties, a lightness of 0 is always black, and a lightness of 100 is always white. All of the properties have a default of 0; therefore, the default HLSColor is black.
Members
Description | ||
---|---|---|
CMYK | The CMYK value of color. | |
GetCIELAB | The CIELAB value of color. | |
Hue | The hue component of an IHlsColor (0-360). | |
Lightness | The lightness component of an IHlsColor (0-100). | |
NullColor | Indicates whether this color is null. | |
RGB | The RGB value of color. | |
Saturation | The saturation component of an HlslColor (0-100). | |
SetCIELAB | The CIELAB value of color. | |
Transparency | The Alpha Blending value. (0 for transparent, 255 for opaque). | |
UseWindowsDithering | Indicates if colors should be dithered to simulate colors that aren't supported by the display. This only applies on displays that have 256 or fewer colors. |
Inherited Interfaces
Interfaces | Description |
---|---|
IColor | Provides access to members that control the basic color interface. |
CoClasses that implement IHlsColor
CoClasses and Classes | Description |
---|---|
HlsColor | A color in the HLS(Hue, Luminance, Saturation) color system. |
See Also
IHlsColor Interface | IRgbColor Interface | IHsvColor Interface | IGrayColor Interface