Constant conciliator::term::COLOR_CODES

source ยท
pub const COLOR_CODES: [ColorCode; 16];
Expand description

Array of all ColorCodes, from White to IntenseBlack

Not ordered like the enum or according to the escape codes, but according to the colors they supposedly represent. Each normal color is followed by its intense counterpart.

pub const COLOR_CODES: [ColorCode; 16] = [
    ColorCode::White,
    ColorCode::IntenseWhite,
    ColorCode::Yellow,
    ColorCode::IntenseYellow,
    ColorCode::Red,
    ColorCode::IntenseRed,
    ColorCode::Magenta,
    ColorCode::IntenseMagenta,
    ColorCode::Blue,
    ColorCode::IntenseBlue,
    ColorCode::Cyan,
    ColorCode::IntenseCyan,
    ColorCode::Green,
    ColorCode::IntenseGreen,
    ColorCode::Black,
    ColorCode::IntenseBlack
];