kaycxx-term
C++ terminal library
Loading...
Searching...
No Matches
Typedefs
color.hpp File Reference

Defines the terminal color value type. More...

#include <variant>
#include <kaycxx/term/basic_color.hpp>
#include <kaycxx/term/indexed_color.hpp>
#include <kaycxx/term/rgb_color.hpp>
Include dependency graph for color.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using kaycxx::term::color = std::variant< basic_color, indexed_color, rgb_color >
 Terminal color value.
 

Detailed Description

Defines the terminal color value type.

Typedef Documentation

◆ color

using kaycxx::term::color = typedef std::variant< basic_color, indexed_color, rgb_color >

Terminal color value.

A color can be one of the basic ANSI palette colors, one of the indexed 256-color palette values, or a true-color RGB value.