Class Color
- Namespace
- Jabra.NET.Sdk.ButtonCustomization
- Assembly
- Jabra.NET.Sdk.ButtonCustomization.dll
Represents a color in RGB format. Not all devices may support the full RGB color spectrum, so some colors may be approximated to the closest possible color on the device.
public record Color : IEquatable<Color>
- Inheritance
-
Color
- Implements
- Inherited Members
Constructors
Color(byte, byte, byte)
Initializes a new instance of the Color class with the specified red, green, and blue component values.
public Color(byte red, byte green, byte blue)
Parameters
redbyteThe intensity of the red component.
greenbyteThe intensity of the green component.
bluebyteThe intensity of the blue component.
Fields
Blue
public static readonly Color Blue
Field Value
Cyan
public static readonly Color Cyan
Field Value
Green
public static readonly Color Green
Field Value
Magenta
public static readonly Color Magenta
Field Value
Red
public static readonly Color Red
Field Value
White
public static readonly Color White
Field Value
Yellow
public static readonly Color Yellow
Field Value
Properties
B
The intensity of blue in the color.
public byte B { get; }
Property Value
G
The intensity of green in the color.
public byte G { get; }
Property Value
R
The intensity of red in the color.
public byte R { get; }