kaycxx-term
C++ terminal library
Loading...
Searching...
No Matches
color.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Klaus Reimer <k@ailis.de>
2// SPDX-License-Identifier: MIT
3
4#pragma once
5
11#include <variant>
12
16
17namespace kaycxx::term {
18
24using color = std::variant<
28>;
29
30} // namespace kaycxx::term
Defines the basic 16-color terminal palette.
std::variant< basic_color, indexed_color, rgb_color > color
Terminal color value.
Definition color.hpp:28
Defines indexed 256-color terminal colors.
Defines RGB true-color terminal colors.
Basic terminal palette color.
Definition basic_color.hpp:21
Indexed terminal palette color.
Definition indexed_color.hpp:18
RGB terminal color.
Definition rgb_color.hpp:18