Table of Contents

Method FromRGBA

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

FromRGBA(int)

Creates a Color structure from a 32-bit RGBA value.

public static Color FromRGBA(int rgba)

Parameters

rgba int

The 32-bit RGBA value.

Returns

Color

A Color structure representing the RGBA value.

FromRGBA(uint)

Creates a Color structure from an unsigned 32-bit RGBA value.

public static Color FromRGBA(uint rgba)

Parameters

rgba uint

The 32-bit RGBA value.

Returns

Color

A Color structure representing the RGBA value.

FromRGBA(string)

Creates a Color structure from a 32-bit RGBA hex string.

public static Color FromRGBA(string rgbaHexString)

Parameters

rgbaHexString string

The 32-bit RGBA hex string.

Returns

Color

A Color structure representing the RGBA value.