Color

Represents a color with 4 floating-point values

The values are clamped between 0 and 1

struct Color {
auto white;
auto black;
auto red;
auto orange;
auto yellow;
auto green;
auto cyan;
auto blue;
auto purple;
auto indigo;
}

Members

Variables

a
float a;

The alpha component

b
float b;

The blue component

g
float g;

The green component

r
float r;

The red component

Meta