The OpenD Programming Language

RGB.this

Construct a color from a string.

Examples

static assert(RGB8("#8000FF")  == RGB8(0x80,0x00,0xFF));
static assert(RGBA8("#908000FF") == RGBA8(0x80,0x00,0xFF,0x90));

Meta