color
Types representing RGB or RGBA colors. The decoded color will be displayed in their color field
Types
type::RGB
type::RGBType representing a generic RGB color with a variable number of bits for each color
<R>: Number of bits used for the red component<G>: Number of bits used for the green component<B>: Number of bits used for the blue component
using RGB<auto R, auto G, auto B> = type::RGBA;type::RGB4444
type::RGB4444Type representing a RGBA color with 4 bits for the red component, 4 bits for green, 4 bits for blue and 4 bits for alpha
using RGB4444 = type::RGBA;type::RGB565
type::RGB565Type representing a RGB color with 5 bits for the red component, 6 bits for green and 5 bits for blue
using RGB565 = type::RGB;type::RGB8
type::RGB8Type representing a RGB color with 8 bits for the red component, 8 bits for green and 8 bits for blue
type::RGBA
type::RGBAType representing a generic RGBA color with a variable number of bits for each color
<R>: Number of bits used for the red component<G>: Number of bits used for the green component<B>: Number of bits used for the blue component<A>: Number of bits used for the alpha component
type::RGBA5551
type::RGBA5551Type representing a RGBA color with 5 bits for the red component, 5 bits for green, 5 bits for blue and 1 bits for alpha
type::RGBA8
type::RGBA8Type representing a RGBA color with 8 bits for the red component, 8 bits for green, 8 bits for blue and 8 bits for alpha
Last updated