This class represents color value in RGB color space.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Class RgbColor _ Inherits Color
public class RgbColor : Color
To get access to red, green, and blue component use R, G, and B properties accordingly. Alpha channel is available through A property. Also there are extended versions of these properties (that returns 16-bit version of the component). These properties have a suffix 32 (e.g. R32, etc).
Also you can get components by index using GetChannel(Int32) method.
This class implements cast operator for other color types as well as for System.Drawing.Color. Note, when you convert colors, no color management is applied. To convert colors with color management, use ConvertColor(Color, ColorProfile) method of PixelFormatConverter class.
There are a number static properties which return predefined colors, such as Red, Maroon, Pink, SeaGreen, etc.