NoTeX 1.0.0
A modern noteworthy LaTeX template
Loading...
Searching...
No Matches
ansi::bg Namespace Reference

Namespace containing background color escape sequences. More...

Variables

constexpr std::string_view black = "\033[40m"
 Background color: black.
constexpr std::string_view red = "\033[41m"
 Background color: red.
constexpr std::string_view green = "\033[42m"
 Background color: green.
constexpr std::string_view yellow = "\033[43m"
 Background color: yellow.
constexpr std::string_view blue = "\033[44m"
 Background color: blue.
constexpr std::string_view magenta = "\033[45m"
 Background color: magenta.
constexpr std::string_view cyan = "\033[46m"
 Background color: cyan.
constexpr std::string_view white = "\033[47m"
 Background color: white.
constexpr std::string_view bright_black = "\033[100m"
 Background color: bright black.
constexpr std::string_view bright_red = "\033[101m"
 Background color: bright red.
constexpr std::string_view bright_green = "\033[102m"
 Background color: bright green.
constexpr std::string_view bright_yellow = "\033[103m"
 Background color: bright yellow.
constexpr std::string_view bright_blue = "\033[104m"
 Background color: bright blue.
constexpr std::string_view bright_magenta = "\033[105m"
 Background color: bright magenta.
constexpr std::string_view bright_cyan = "\033[106m"
 Background color: bright cyan.
constexpr std::string_view bright_white = "\033[107m"
 Background color: bright white.

Detailed Description

Namespace containing background color escape sequences.

Provides ANSI escape codes for filling the background of text with colors. Standard background colors are available in the root namespace, bright variants are prefixed with bright_.

Variable Documentation

◆ black

std::string_view ansi::bg::black = "\033[40m"
constexpr

Background color: black.

Definition at line 111 of file constants.hpp.

◆ blue

std::string_view ansi::bg::blue = "\033[44m"
constexpr

Background color: blue.

Definition at line 119 of file constants.hpp.

◆ bright_black

std::string_view ansi::bg::bright_black = "\033[100m"
constexpr

Background color: bright black.

Definition at line 128 of file constants.hpp.

◆ bright_blue

std::string_view ansi::bg::bright_blue = "\033[104m"
constexpr

Background color: bright blue.

Definition at line 136 of file constants.hpp.

◆ bright_cyan

std::string_view ansi::bg::bright_cyan = "\033[106m"
constexpr

Background color: bright cyan.

Definition at line 140 of file constants.hpp.

◆ bright_green

std::string_view ansi::bg::bright_green = "\033[102m"
constexpr

Background color: bright green.

Definition at line 132 of file constants.hpp.

◆ bright_magenta

std::string_view ansi::bg::bright_magenta = "\033[105m"
constexpr

Background color: bright magenta.

Definition at line 138 of file constants.hpp.

◆ bright_red

std::string_view ansi::bg::bright_red = "\033[101m"
constexpr

Background color: bright red.

Definition at line 130 of file constants.hpp.

◆ bright_white

std::string_view ansi::bg::bright_white = "\033[107m"
constexpr

Background color: bright white.

Definition at line 142 of file constants.hpp.

◆ bright_yellow

std::string_view ansi::bg::bright_yellow = "\033[103m"
constexpr

Background color: bright yellow.

Definition at line 134 of file constants.hpp.

◆ cyan

std::string_view ansi::bg::cyan = "\033[46m"
constexpr

Background color: cyan.

Definition at line 123 of file constants.hpp.

◆ green

std::string_view ansi::bg::green = "\033[42m"
constexpr

Background color: green.

Definition at line 115 of file constants.hpp.

◆ magenta

std::string_view ansi::bg::magenta = "\033[45m"
constexpr

Background color: magenta.

Definition at line 121 of file constants.hpp.

◆ red

std::string_view ansi::bg::red = "\033[41m"
constexpr

Background color: red.

Definition at line 113 of file constants.hpp.

◆ white

std::string_view ansi::bg::white = "\033[47m"
constexpr

Background color: white.

Definition at line 125 of file constants.hpp.

◆ yellow

std::string_view ansi::bg::yellow = "\033[43m"
constexpr

Background color: yellow.

Definition at line 117 of file constants.hpp.