Edit

HBColor Constructors

Definition

Overloads

Name Description
HBColor(UInt32)

Initializes a new instance of the HBColor struct from a raw 32-bit BGRA value.

HBColor(Byte, Byte, Byte, Byte)

Initializes a new instance of the HBColor struct from individual RGBA channel values.

HBColor(UInt32)

Initializes a new instance of the HBColor struct from a raw 32-bit BGRA value.

public HBColor(uint value);

Parameters

value
UInt32

The raw packed BGRA value to store.

Applies to

HBColor(Byte, Byte, Byte, Byte)

Initializes a new instance of the HBColor struct from individual RGBA channel values.

public HBColor(byte red, byte green, byte blue, byte alpha);

Parameters

red
Byte

The red channel value (0–255).

green
Byte

The green channel value (0–255).

blue
Byte

The blue channel value (0–255).

alpha
Byte

The alpha channel value (0–255), where 0 is fully transparent and 255 is fully opaque.

Applies to