|
constexpr | rgb (uint8_t r, uint8_t g, uint8_t b) noexcept |
|
constexpr | rgb (double r, double g, double b) noexcept |
|
constexpr | rgb (util::string_view color) noexcept |
|
std::string | rgb_str () const |
|
std::string | str () const |
|
std::string | hex_str () const |
|
| operator std::string () const |
|
constexpr rgb & | adjust (double v) |
|
constexpr rgb | adjust (double v) const |
|
constexpr rgb | dark (double pct=0.25) const |
|
constexpr rgb | light (double pct=0.25) const |
|
constexpr rgb | opacity (float pct=1.0) const |
|
constexpr rgb & | operator= (util::string_view color_str) |
|
constexpr rgb & | operator+= (rgb other) |
|
constexpr rgb | operator+ (rgb other) const |
|