Table of Contents

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

red byte

The intensity of the red component.

green byte

The intensity of the green component.

blue byte

The intensity of the blue component.

Fields

Blue

public static readonly Color Blue

Field Value

Color

Cyan

public static readonly Color Cyan

Field Value

Color

Green

public static readonly Color Green

Field Value

Color

Magenta

public static readonly Color Magenta

Field Value

Color

Red

public static readonly Color Red

Field Value

Color

White

public static readonly Color White

Field Value

Color

Yellow

public static readonly Color Yellow

Field Value

Color

Properties

B

The intensity of blue in the color.

public byte B { get; }

Property Value

byte

G

The intensity of green in the color.

public byte G { get; }

Property Value

byte

R

The intensity of red in the color.

public byte R { get; }

Property Value

byte