kaycxx-term
C++ terminal library
Loading...
Searching...
No Matches
Classes | Variables
basic_color.hpp File Reference

Defines the basic 16-color terminal palette. More...

#include <cstdint>
Include dependency graph for basic_color.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kaycxx::term::basic_color
 Basic terminal palette color. More...
 

Variables

constexpr basic_color kaycxx::term::black {0}
 ANSI color slot 0 (black).
 
constexpr basic_color kaycxx::term::red {1}
 ANSI color slot 1 (red).
 
constexpr basic_color kaycxx::term::green {2}
 ANSI color slot 2 (green).
 
constexpr basic_color kaycxx::term::yellow {3}
 ANSI color slot 3 (yellow).
 
constexpr basic_color kaycxx::term::blue {4}
 ANSI color slot 4 (blue).
 
constexpr basic_color kaycxx::term::magenta {5}
 ANSI color slot 5 (magenta).
 
constexpr basic_color kaycxx::term::cyan {6}
 ANSI color slot 6 (cyan).
 
constexpr basic_color kaycxx::term::white {7}
 ANSI color slot 7 (white, commonly rendered as light gray).
 
constexpr basic_color kaycxx::term::bright_black {0, true}
 Bright ANSI color slot 0 (bright black, commonly rendered as dark gray).
 
constexpr basic_color kaycxx::term::bright_red {1, true}
 Bright ANSI color slot 1 (bright red).
 
constexpr basic_color kaycxx::term::bright_green {2, true}
 Bright ANSI color slot 2 (bright green).
 
constexpr basic_color kaycxx::term::bright_yellow {3, true}
 Bright ANSI color slot 3 (bright yellow).
 
constexpr basic_color kaycxx::term::bright_blue {4, true}
 Bright ANSI color slot 4 (bright blue).
 
constexpr basic_color kaycxx::term::bright_magenta {5, true}
 Bright ANSI color slot 5 (bright magenta).
 
constexpr basic_color kaycxx::term::bright_cyan {6, true}
 Bright ANSI color slot 6 (bright cyan).
 
constexpr basic_color kaycxx::term::bright_white {7, true}
 Bright ANSI color slot 7 (bright white, commonly rendered as actual white).
 

Detailed Description

Defines the basic 16-color terminal palette.