This document is archived and information here might be outdated.  Recommended version.


IHsvColor Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IH > IHsvColor Interface
ArcGIS Developer Help

IHsvColor Interface

Provides access to members that control the HSV color values.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

IHsvColor maintains information about a Color by using the HSV (Hue, Saturation, and Value) color model. Colors are defined by three read-write properties: Hue, Saturation, and 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 Value property is a number between 0 and 100 indicating the value, or brightness, of a color. All of the properties have a default value of 0; therefore, the default HSVColor is black.  

Members

Name Description
Read/write property CMYK The CMYK value of color.
Method GetCIELAB The CIELAB value of color.
Read/write property Hue The hue component of an IhsvColor (0-360).
Read/write property NullColor Indicates whether this color is null.
Read/write property RGB The RGB value of color.
Read/write property Saturation The saturation component of an IhsvColor (0-100).
Method SetCIELAB The CIELAB value of color.
Read/write property Transparency The Alpha Blending value. (0 for transparent, 255 for opaque).
Read/write property 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.
Read/write property Value The value component of an IhsvColor (0-100).

Inherited Interfaces

Interfaces Description
IColor Provides access to members that control the basic color interface.

Classes that implement IHsvColor

Classes Description
HsvColor A color in the HSV (Hue, Saturation, Value) color system.

See Also

IHlsColor Interface | IGrayColor Interface | IRgbColor Interface | IHsvColor Interface

.NET Samples

Use an AlgorithmicColorRamp to color a ClassBreaksRenderer Multivariate renderer