ArcObjects Library Reference (Display)  

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

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.

CoClasses that implement IColor

CoClasses and 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

ICmykColor Interface | ICieLabConversion Interface | IEnumColors Interface | IColor Interface