|
Terminal++ 4.0.1.23
A C++ library for interacting with ANSI terminal windows
|
Structure representing the ~16 million colours codes of the true colour palette. More...
#include <colour.hpp>
Public Member Functions | |
| constexpr | true_colour () noexcept |
| Default constructor constructs a true colour value that represents black. | |
| constexpr | true_colour (byte const red, byte const green, byte const blue) noexcept |
| Constructor. | |
Public Attributes | |
| byte | red_ |
| byte | green_ |
| byte | blue_ |
Friends | |
| std::size_t | hash_value (true_colour const &col) noexcept |
| Hash function. | |
| constexpr friend auto | operator<=> (true_colour const &lhs, true_colour const &rhs) noexcept=default |
| Comparison operators for true colours. | |
Structure representing the ~16 million colours codes of the true colour palette.