1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/// A colour palette optimised for use with ANSI in-band terminal signalling. While designed for
/// terminal environments, this palette may be mapped to alternate colour spaces.

/// A 16-colour palette.
#[derive(Debug, Clone)]
pub enum Palette16 {
    Black,
    Red,
    Green,
    Yellow,
    Blue,
    Magenta,
    Cyan,
    White,
    BrightBlack,
    BrightRed,
    BrightGreen,
    BrightYellow,
    BrightBlue,
    BrightMagenta,
    BrightCyan,
    BrightWhite,
    Default,
    Hidden
}