namespace cogs::color — HIRO 0.7.0 documentation

# namespace cogs::color

## Overview

Definitions of color constants. More…

    namespace color {

    // global variables

    const Color3f WHITE = Color3b(255, 255, 255);
    const Color3f GRAY = Color3b(128, 128, 128);
    const Color3f BLACK = Color3b(0, 0, 0);
    const Color3f GRAY90 = Color3b(230, 230, 230);
    const Color3f GRAY80 = Color3b(204, 204, 204);
    const Color3f GRAY70 = Color3b(179, 179, 179);
    const Color3f GRAY60 = Color3b(153, 153, 153);
    const Color3f GRAY50 = Color3b(128, 128, 128);
    const Color3f GRAY40 = Color3b(102, 102, 102);
    const Color3f GRAY30 = Color3b(77, 77, 77);
    const Color3f GRAY20 = Color3b(51, 51, 51);
    const Color3f GRAY10 = Color3b(26, 26, 26);
    const Color3f RED = Color3b(255, 0, 0);
    const Color3f GREEN = Color3b(0, 255, 0);
    const Color3f BLUE = Color3b(0, 0, 255);
    const Color3f CRIMSON = Color3b(214, 44, 54);
    const Color3f ORANGE = Color3b(242, 172, 41);
    const Color3f YELLOW = Color3b(252, 223, 78);
    const Color3f FOREST = Color3b(31, 140, 69);
    const Color3f LIME = Color3b(83, 252, 20);
    const Color3f EMERALD = Color3b(80, 220, 100);
    const Color3f CYAN = Color3b(0, 245, 255);
    const Color3f SKY = Color3b(5, 157, 255);
    const Color3f NAVY = Color3b(4, 59, 106);
    const Color3f PURPLE = Color3b(148, 14, 112);
    const Color3f MAGENTA = Color3b(211, 19, 90);
    const Color3f SALMON = Color3b(250, 128, 114);
    const Color3f PINK = Color3b(242, 131, 166);
    const Color3f GOLD = Color3b(255, 215, 0);
    const Color3f CREAM_WHITE = Color3b(255, 252, 209);
    const Color3f STX_NAVY = Color3b(34, 83, 120);
    const Color3f STX_GREEN = Color3b(23, 150, 164);
    const Color3f STX_LIME = Color3b(85, 203, 199);
    const Color3f STX_VANILLA = Color3b(243, 255, 226);
    const Color3f STX_ORANGE = Color3b(255, 150, 73);

    } // namespace color

## Detailed Documentation

Definitions of color constants.

### Global Variables

    const Color3f GRAY90 = Color3b(230, 230, 230)

90% lightness -lightest of grays

    const Color3f GRAY80 = Color3b(204, 204, 204)

80% lightness

    const Color3f GRAY70 = Color3b(179, 179, 179)

70% lightness

    const Color3f GRAY60 = Color3b(153, 153, 153)

60% lightness

    const Color3f GRAY50 = Color3b(128, 128, 128)

50% lightness

    const Color3f GRAY40 = Color3b(102, 102, 102)

40% lightness

    const Color3f GRAY30 = Color3b(77, 77, 77)

30% lightness

    const Color3f GRAY20 = Color3b(51, 51, 51)

20% lightness

    const Color3f GRAY10 = Color3b(26, 26, 26)

10% lightness - darkest of grays

    const Color3f RED = Color3b(255, 0, 0)

pure red - 255 0 0

    const Color3f GREEN = Color3b(0, 255, 0)

pure green - 0 255 0

    const Color3f BLUE = Color3b(0, 0, 255)

pure blue - 0 0 255

    const Color3f CRIMSON = Color3b(214, 44, 54)

nicer pure red

    const Color3f FOREST = Color3b(31, 140, 69)

darker green

    const Color3f LIME = Color3b(83, 252, 20)

bright green

    const Color3f EMERALD = Color3b(80, 220, 100)

blueish green

    const Color3f CYAN = Color3b(0, 245, 255)

greenish blue

    const Color3f SKY = Color3b(5, 157, 255)

nicer pure blue

    const Color3f NAVY = Color3b(4, 59, 106)

dark blue

    const Color3f MAGENTA = Color3b(211, 19, 90)

pinkish red

    const Color3f STX_NAVY = Color3b(34, 83, 120)

Skeletex dark blue.

    const Color3f STX_GREEN = Color3b(23, 150, 164)

Skeletex darker green.

    const Color3f STX_LIME = Color3b(85, 203, 199)

Skeletex light green.

    const Color3f STX_VANILLA = Color3b(243, 255, 226)

Skeletex bright yellow.

    const Color3f STX_ORANGE = Color3b(255, 150, 73)

Skeletex orange.