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


IRgbColor Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IRgbColor Interface

Provides access to members that control the RGB color values.

Product Availability

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

Description

IRgbColor maintains information about a Color by using the RGB (Red, Green, Blue) color model.

Members

Description
Read/write property Blue The blue component of an IRgbColor (0-255).
Read/write property CMYK The CMYK value of color.
Method GetCIELAB The CIELAB value of color.
Read/write property Green The green component of an IRgbColor (0-255).
Read/write property NullColor Indicates whether this color is null.
Read/write property Red The red component of an IRgbColor (0-255).
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.

Inherited Interfaces

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

CoClasses that implement IRgbColor

CoClasses and Classes Description
RgbColor A color in the RGB(Red Green Blue) color system.

See Also

IHlsColor Interface | IGrayColor Interface | IRgbColor Interface | IHsvColor Interface

.NET Snippets

Create Simple Fill Symbol | Create Line Fill Symbol | Create Line Callout | Add Graphic to Map | Draw Polyline | Create Character Marker Symbol | Create Gradient Fill Symbol | Create Picture Marker Symbol | Draw Rectangle | Draw Polygon | Create Simple Line Symbol | Create RGBColor | Create Simple Marker Symbol | Draw Polyline Using Input Geometry | Flash Geometry | Create Cartographic Line Symbol

.NET Samples

3D multipatch examples (Code Files: ColorUtilities) | Editing using a custom form (Code Files: MainForm) | Use a PageLayoutControl as an overview window (Code Files: Overview) | 3D dynamic element tracking (Code Files: TrackDynamicObject) | Custom UI elements using add-ins (Code Files: AddGraphicsTool) | Use an AlgorithmicColorRamp to color a ClassBreaksRenderer (Code Files: frmAlgorithmicColorRamp) | Create a custom default raster catalog renderer (Code Files: CustomRasterCatalogRenderer_VBNET) | Implementing a schematic digitizing tool (Code Files: DigitTool) | Executing geoprocessing tools in the background (Code Files: RunGPForm) | Angle Angle shape constructor (Code Files: AngleAngleCstr) | Effects in the GlobeControl (Code Files: Effects) | RSS weather GraphicTracker (Code Files: RSSWeather) | Geoevents in a MapControl (Code Files: GeoEvents) | Move a graphic along a path in ArcMap (Code Files: MapGraphicTrackExtension) | ArcGIS Network Analyst extension barrier location editor (Code Files: EditorForm) | Add a traversal result to the map (Code Files: AddTraversalResultsToMap) | Creating a toolbar of globe tools (Code Files: ColorSelection) | Building a MapViewer application using the ArcGIS Engine controls (Code Files: MapViewer) | RSS weather layer (Code Files: RSSWeatherLayerClass) | Create a custom default raster renderer (Code Files: RasterRendererMaker_1bit_TIFF_VBNET) | Multivariate renderer (Code Files: MultivariateRenderer) | Create a custom tool (Code Files: DrawGraphicLine) | Add and symbolize a historical temporal layer in ArcMap (Code Files: AddTemporalLayerButton) | Custom feedback tool and font drop-down list tool control (Code Files: ToolSample) | Play back tracking data (Code Files: PlaybackDataButton) | Draw text on a MapControl (Code Files: DrawText)

.NET Related Topics

Building a map viewing application using the ArcGIS Engine controls | Building custom UI elements using add-ins | Cartographic representations | Create a custom tool | Creating map grid labels | DisplayUI | How to connect to ArcGIS Tracking Server | How to create a dynamic glyph from a marker symbol | How to create a raster stretch renderer | How to create map grids | How to draw a polygon on the screen | How to draw a polyline on the screen | How to draw a rectangle on the screen | How to make a cartographic line symbol | How to make a character marker symbol | How to make a gradient fill symbol | How to make a line callout | How to make a line fill symbol | How to make a picture marker symbol | How to make different types of colors and color ramps | Source code option for the ArcGIS Snippet Editor | Working with PageLayout elements | Working with the editor snap environment