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


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

IColor Interface

Provides access to members that control the basic color interface.

Product Availability

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

Description

IColor is a generic interface that are implemented by all the other color CoClasses. IColor is also where transparency is managed. The other color interfaces derived from IColor interface are: IRgbColor, ICmykColor, IHsvColor, IHlsColor, and IGrayColor. You can also convert any of the color interfaces to OLE color objects by using the RGB method.

 

Members

Name Description
Read/write property CMYK The CMYK value of color.
Method GetCIELAB The CIELAB value of color.
Read/write property NullColor Indicates whether this color is null.
Read/write property RGB The RGB value of color.
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.

Classes that implement IColor

Classes Description
CmykColor A color in the CMYK(Cyan Magenta Yellow, Black) color system.
GrayColor A color in the grayscale color system.
HlsColor A color in the HLS(Hue, Luminance, Saturation) color system.
HsvColor A color in the HSV (Hue, Saturation, Value) color system.
RgbColor A color in the RGB(Red Green Blue) color system.

See Also

IColor Interface | ICieLabConversion Interface | ICmykColor Interface | IEnumColors Interface | ColorStyleGalleryClass Class

.NET Samples

Use an AlgorithmicColorRamp to color a ClassBreaksRenderer Use an AlgorithmicColorRamp to color a ClassBreaksRenderer Create a custom default raster renderer Create a custom default raster catalog renderer Dynamic biking Dynamic logo Extent view Effects in the GlobeControl Creating a toolbar of globe tools 3D multipatch examples 3D multipatch examples 3D multipatch examples 3D multipatch examples Multivariate renderer Dynamic display layer Triangle graphic element Triangle graphic element Visualizing the camera path while animating