13namespace kaycxx::term {
Defines the terminal color value type.
std::variant< basic_color, indexed_color, rgb_color > color
Terminal color value.
Definition color.hpp:28
constexpr color_style fg(color value) noexcept
Creates a foreground color style.
Definition color_style.hpp:38
constexpr color_style bg(color value) noexcept
Creates a background color style.
Definition color_style.hpp:53
Color style command written to a terminal.
Definition color_style.hpp:18
int basic_base
Base SGR code for non-bright basic colors.
Definition color_style.hpp:23
color value
Color value to render.
Definition color_style.hpp:20
int bright_base
Base SGR code for bright basic colors.
Definition color_style.hpp:26
int extended_base
Extended SGR selector for indexed and RGB colors.
Definition color_style.hpp:29