Skip to content

REXPaintImage.Color Struct

A RexPaint color.

C#
public struct REXPaintImage.Color

Creates a new RexPaint color with the specified RGB channels.

C#
public Color(byte r, byte g, byte b)

r byte
The red channel of the color.

g byte
The green channel of the color.

b byte
The blue channel of the color.

The red channel of the color.

C#
public byte R

The green channel of the color.

C#
public byte G

The blue channel of the color.

C#
public byte B

Returns the transparent color used by RexPaint: rgb(255, 0, 255).

C#
public static REXPaintImage.Color Transparent { get; }