|
commons 0.1.5
Header-only C++23 library of common/shared types for the C++ libraries
|
Hue / saturation / value (brightness), plus unit alpha. More...
#include <color.hpp>
Public Member Functions | |
| constexpr bool | operator== (const Hsv &) const =default |
| Field-wise equality. | |
Public Attributes | |
| f64 | h = 0.0 |
Hue in degrees, [0, 360). | |
| f64 | s = 0.0 |
Saturation, [0, 1]. | |
| f64 | v = 0.0 |
Value (brightness), [0, 1]. | |
| f64 | a = 1.0 |
Alpha (opacity), [0, 1]. | |
Hue / saturation / value (brightness), plus unit alpha.