Struct RGB

Represents a 24-bit color.

struct RGB ;

You can convert these to and from [arsd.color.Color] using .tupleof:

     	RGB rgb;
Color c = Color(rgb.tupleof);

Fields

NameTypeDescription
b ubyte
g ubyte
r ubyte