Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches
Flint::Colors Namespace Reference

Predefined named color constants. More...

Variables

constexpr Color white {255, 255, 255, 255}
 
constexpr Color black {0, 0, 0, 255}
 
constexpr Color red {255, 0, 0, 255}
 
constexpr Color green {0, 255, 0, 255}
 
constexpr Color blue {0, 0, 255, 255}
 
constexpr Color yellow {255, 255, 0, 255}
 
constexpr Color cyan {0, 255, 255, 255}
 
constexpr Color magenta {255, 0, 255, 255}
 
constexpr Color transparent {0, 0, 0, 0}
 

Detailed Description

Predefined named color constants.

Variable Documentation

◆ black

Color Flint::Colors::black {0, 0, 0, 255}
constexpr

Definition at line 48 of file color.h.

◆ blue

Color Flint::Colors::blue {0, 0, 255, 255}
constexpr

Definition at line 51 of file color.h.

◆ cyan

Color Flint::Colors::cyan {0, 255, 255, 255}
constexpr

Definition at line 53 of file color.h.

◆ green

Color Flint::Colors::green {0, 255, 0, 255}
constexpr

Definition at line 50 of file color.h.

◆ magenta

Color Flint::Colors::magenta {255, 0, 255, 255}
constexpr

Definition at line 54 of file color.h.

◆ red

Color Flint::Colors::red {255, 0, 0, 255}
constexpr

Definition at line 49 of file color.h.

◆ transparent

Color Flint::Colors::transparent {0, 0, 0, 0}
constexpr

Definition at line 55 of file color.h.

◆ white

Color Flint::Colors::white {255, 255, 255, 255}
constexpr

Definition at line 47 of file color.h.

◆ yellow

Color Flint::Colors::yellow {255, 255, 0, 255}
constexpr

Definition at line 52 of file color.h.