gempyre 1.8.1
|
RGB handling. More...
Typedefs | |
using | type = Gempyre::dataT |
pixel type | |
Functions | |
bool | is_equal (type a, type b) |
std::optional< type > | from_html_name (std::string_view name) |
find a HTML color as Color::type | |
std::optional< type > | get_color (std::string_view color) |
get color from string, where string is a HTML color name, #RRGGBB, #RRGGBBAA, 0xRRGGBB or 0xRRGGBBAA | |
Variables | |
constexpr std::array< std::pair< std::string_view, type >, 147 > | html_colors |
HTML colors. | |
RGB handling.