|
HikoGUI
A low latency retained GUI
|
#include <hikogui/color/color.hpp>
Friends | |
| constexpr friend bool | operator== (color const &lhs, color const &rhs) noexcept=default |
| constexpr friend color | operator* (color const &lhs, color const &rhs) noexcept |
| constexpr friend color | composit (color const &lhs, color const &rhs) noexcept |
| constexpr friend color | desaturate (color const &rhs) noexcept |
This is a RGBA floating point color.
The color can be converted between different color spaces using the matrix-class.
But in most cases in the application and hikogui library this color would be in the tsRGBA color space. This color space is compatible with the sRGB standard IEC 61966-2-1:1999.
tsRGB details:
tsRGBA details:
This color format is inspired by scRGB, however scRGB only describes a 12- or 16-bit integer per component encoding of RGB values between -0.5 and 7.5.