Struct RGB
Represents a 24-bit color.
struct RGB
;
You can convert these to and from [arsd.color.Color] using
:
RGB rgb;
Color c = Color(rgb .tupleof);
Fields
Name | Type | Description |
---|---|---|
b
|
ubyte | |
g
|
ubyte | |
r
|
ubyte |