header_utils
Loading...
Searching...
No Matches
ghassanpl::colors Namespace Reference

Contains the basic colors as variables and functions. More...

Functions

constexpr color_t get_red (float alpha)
 
constexpr color_t get_dark_red (float alpha)
 
constexpr color_t get_light_red (float alpha)
 
constexpr color_t get_green (float alpha)
 
constexpr color_t get_dark_green (float alpha)
 
constexpr color_t get_light_green (float alpha)
 
constexpr color_t get_blue (float alpha)
 
constexpr color_t get_dark_blue (float alpha)
 
constexpr color_t get_light_blue (float alpha)
 
constexpr color_t get_yellow (float alpha)
 
constexpr color_t get_dark_yellow (float alpha)
 
constexpr color_t get_light_yellow (float alpha)
 
constexpr color_t get_magenta (float alpha)
 
constexpr color_t get_dark_magenta (float alpha)
 
constexpr color_t get_light_magenta (float alpha)
 
constexpr color_t get_cyan (float alpha)
 
constexpr color_t get_dark_cyan (float alpha)
 
constexpr color_t get_light_cyan (float alpha)
 
constexpr color_t get_gray (float alpha)
 
constexpr color_t get_dark_gray (float alpha)
 
constexpr color_t get_light_gray (float alpha)
 
constexpr color_t get_grey (float alpha)
 
constexpr color_t get_dark_grey (float alpha)
 
constexpr color_t get_light_grey (float alpha)
 
constexpr color_t get_orange (float alpha)
 
constexpr color_t get_dark_orange (float alpha)
 
constexpr color_t get_light_orange (float alpha)
 
constexpr color_t get_brown (float alpha)
 
constexpr color_t get_dark_brown (float alpha)
 
constexpr color_t get_light_brown (float alpha)
 
constexpr color_t get_black (float alpha)
 
constexpr color_t get_white (float alpha)
 

Variables

constexpr color_t red
 
constexpr color_t dark_red
 
constexpr color_t light_red
 
constexpr color_t green
 
constexpr color_t dark_green
 
constexpr color_t light_green
 
constexpr color_t blue
 
constexpr color_t dark_blue
 
constexpr color_t light_blue
 
constexpr color_t yellow
 
constexpr color_t dark_yellow
 
constexpr color_t light_yellow
 
constexpr color_t magenta
 
constexpr color_t dark_magenta
 
constexpr color_t light_magenta
 
constexpr color_t cyan
 
constexpr color_t dark_cyan
 
constexpr color_t light_cyan
 
constexpr color_t gray
 
constexpr color_t dark_gray
 
constexpr color_t light_gray
 
constexpr color_t grey
 
constexpr color_t dark_grey
 
constexpr color_t light_grey
 
constexpr color_t orange
 
constexpr color_t dark_orange
 
constexpr color_t light_orange
 
constexpr color_t brown
 
constexpr color_t dark_brown
 
constexpr color_t light_brown
 
constexpr color_t black
 
constexpr color_t white
 
constexpr color_t transparent
 

Detailed Description

Contains the basic colors as variables and functions.

The functions take an alpha argument that determines the alpha of the returned color.

Function Documentation

◆ get_black()

constexpr color_t ghassanpl::colors::get_black ( float  alpha)
constexpr

Definition at line 71 of file colors.h.

◆ get_blue()

constexpr color_t ghassanpl::colors::get_blue ( float  alpha)
constexpr

Definition at line 61 of file colors.h.

◆ get_brown()

constexpr color_t ghassanpl::colors::get_brown ( float  alpha)
constexpr

Definition at line 69 of file colors.h.

◆ get_cyan()

constexpr color_t ghassanpl::colors::get_cyan ( float  alpha)
constexpr

Definition at line 64 of file colors.h.

◆ get_dark_blue()

constexpr color_t ghassanpl::colors::get_dark_blue ( float  alpha)
constexpr

Definition at line 61 of file colors.h.

◆ get_dark_brown()

constexpr color_t ghassanpl::colors::get_dark_brown ( float  alpha)
constexpr

Definition at line 69 of file colors.h.

◆ get_dark_cyan()

constexpr color_t ghassanpl::colors::get_dark_cyan ( float  alpha)
constexpr

Definition at line 64 of file colors.h.

◆ get_dark_gray()

constexpr color_t ghassanpl::colors::get_dark_gray ( float  alpha)
constexpr

Definition at line 65 of file colors.h.

◆ get_dark_green()

constexpr color_t ghassanpl::colors::get_dark_green ( float  alpha)
constexpr

Definition at line 60 of file colors.h.

◆ get_dark_grey()

constexpr color_t ghassanpl::colors::get_dark_grey ( float  alpha)
constexpr

Definition at line 66 of file colors.h.

◆ get_dark_magenta()

constexpr color_t ghassanpl::colors::get_dark_magenta ( float  alpha)
constexpr

Definition at line 63 of file colors.h.

◆ get_dark_orange()

constexpr color_t ghassanpl::colors::get_dark_orange ( float  alpha)
constexpr

Definition at line 68 of file colors.h.

◆ get_dark_red()

constexpr color_t ghassanpl::colors::get_dark_red ( float  alpha)
constexpr

Definition at line 59 of file colors.h.

◆ get_dark_yellow()

constexpr color_t ghassanpl::colors::get_dark_yellow ( float  alpha)
constexpr

Definition at line 62 of file colors.h.

◆ get_gray()

constexpr color_t ghassanpl::colors::get_gray ( float  alpha)
constexpr

Definition at line 65 of file colors.h.

◆ get_green()

constexpr color_t ghassanpl::colors::get_green ( float  alpha)
constexpr

Definition at line 60 of file colors.h.

◆ get_grey()

constexpr color_t ghassanpl::colors::get_grey ( float  alpha)
constexpr

Definition at line 66 of file colors.h.

◆ get_light_blue()

constexpr color_t ghassanpl::colors::get_light_blue ( float  alpha)
constexpr

Definition at line 61 of file colors.h.

◆ get_light_brown()

constexpr color_t ghassanpl::colors::get_light_brown ( float  alpha)
constexpr

Definition at line 69 of file colors.h.

◆ get_light_cyan()

constexpr color_t ghassanpl::colors::get_light_cyan ( float  alpha)
constexpr

Definition at line 64 of file colors.h.

◆ get_light_gray()

constexpr color_t ghassanpl::colors::get_light_gray ( float  alpha)
constexpr

Definition at line 65 of file colors.h.

◆ get_light_green()

constexpr color_t ghassanpl::colors::get_light_green ( float  alpha)
constexpr

Definition at line 60 of file colors.h.

◆ get_light_grey()

constexpr color_t ghassanpl::colors::get_light_grey ( float  alpha)
constexpr

Definition at line 66 of file colors.h.

◆ get_light_magenta()

constexpr color_t ghassanpl::colors::get_light_magenta ( float  alpha)
constexpr

Definition at line 63 of file colors.h.

◆ get_light_orange()

constexpr color_t ghassanpl::colors::get_light_orange ( float  alpha)
constexpr

Definition at line 68 of file colors.h.

◆ get_light_red()

constexpr color_t ghassanpl::colors::get_light_red ( float  alpha)
constexpr

Definition at line 59 of file colors.h.

◆ get_light_yellow()

constexpr color_t ghassanpl::colors::get_light_yellow ( float  alpha)
constexpr

Definition at line 62 of file colors.h.

◆ get_magenta()

constexpr color_t ghassanpl::colors::get_magenta ( float  alpha)
constexpr

Definition at line 63 of file colors.h.

◆ get_orange()

constexpr color_t ghassanpl::colors::get_orange ( float  alpha)
constexpr

Definition at line 68 of file colors.h.

◆ get_red()

constexpr color_t ghassanpl::colors::get_red ( float  alpha)
constexpr

Definition at line 59 of file colors.h.

◆ get_white()

constexpr color_t ghassanpl::colors::get_white ( float  alpha)
constexpr

Definition at line 72 of file colors.h.

◆ get_yellow()

constexpr color_t ghassanpl::colors::get_yellow ( float  alpha)
constexpr

Definition at line 62 of file colors.h.

Variable Documentation

◆ black

constexpr color_t ghassanpl::colors::black
inlineconstexpr

Definition at line 71 of file colors.h.

◆ blue

constexpr color_t ghassanpl::colors::blue
inlineconstexpr

Definition at line 61 of file colors.h.

◆ brown

constexpr color_t ghassanpl::colors::brown
inlineconstexpr

Definition at line 69 of file colors.h.

◆ cyan

constexpr color_t ghassanpl::colors::cyan
inlineconstexpr

Definition at line 64 of file colors.h.

◆ dark_blue

constexpr color_t ghassanpl::colors::dark_blue
inlineconstexpr

Definition at line 61 of file colors.h.

◆ dark_brown

constexpr color_t ghassanpl::colors::dark_brown
inlineconstexpr

Definition at line 69 of file colors.h.

◆ dark_cyan

constexpr color_t ghassanpl::colors::dark_cyan
inlineconstexpr

Definition at line 64 of file colors.h.

◆ dark_gray

constexpr color_t ghassanpl::colors::dark_gray
inlineconstexpr

Definition at line 65 of file colors.h.

◆ dark_green

constexpr color_t ghassanpl::colors::dark_green
inlineconstexpr

Definition at line 60 of file colors.h.

◆ dark_grey

constexpr color_t ghassanpl::colors::dark_grey
inlineconstexpr

Definition at line 66 of file colors.h.

◆ dark_magenta

constexpr color_t ghassanpl::colors::dark_magenta
inlineconstexpr

Definition at line 63 of file colors.h.

◆ dark_orange

constexpr color_t ghassanpl::colors::dark_orange
inlineconstexpr

Definition at line 68 of file colors.h.

◆ dark_red

constexpr color_t ghassanpl::colors::dark_red
inlineconstexpr

Definition at line 59 of file colors.h.

◆ dark_yellow

constexpr color_t ghassanpl::colors::dark_yellow
inlineconstexpr

Definition at line 62 of file colors.h.

◆ gray

constexpr color_t ghassanpl::colors::gray
inlineconstexpr

Definition at line 65 of file colors.h.

◆ green

constexpr color_t ghassanpl::colors::green
inlineconstexpr

Definition at line 60 of file colors.h.

◆ grey

constexpr color_t ghassanpl::colors::grey
inlineconstexpr

Definition at line 66 of file colors.h.

◆ light_blue

constexpr color_t ghassanpl::colors::light_blue
inlineconstexpr

Definition at line 61 of file colors.h.

◆ light_brown

constexpr color_t ghassanpl::colors::light_brown
inlineconstexpr

Definition at line 69 of file colors.h.

◆ light_cyan

constexpr color_t ghassanpl::colors::light_cyan
inlineconstexpr

Definition at line 64 of file colors.h.

◆ light_gray

constexpr color_t ghassanpl::colors::light_gray
inlineconstexpr

Definition at line 65 of file colors.h.

◆ light_green

constexpr color_t ghassanpl::colors::light_green
inlineconstexpr

Definition at line 60 of file colors.h.

◆ light_grey

constexpr color_t ghassanpl::colors::light_grey
inlineconstexpr

Definition at line 66 of file colors.h.

◆ light_magenta

constexpr color_t ghassanpl::colors::light_magenta
inlineconstexpr

Definition at line 63 of file colors.h.

◆ light_orange

constexpr color_t ghassanpl::colors::light_orange
inlineconstexpr

Definition at line 68 of file colors.h.

◆ light_red

constexpr color_t ghassanpl::colors::light_red
inlineconstexpr

Definition at line 59 of file colors.h.

◆ light_yellow

constexpr color_t ghassanpl::colors::light_yellow
inlineconstexpr

Definition at line 62 of file colors.h.

◆ magenta

constexpr color_t ghassanpl::colors::magenta
inlineconstexpr

Definition at line 63 of file colors.h.

◆ orange

constexpr color_t ghassanpl::colors::orange
inlineconstexpr

Definition at line 68 of file colors.h.

◆ red

constexpr color_t ghassanpl::colors::red
inlineconstexpr

Definition at line 59 of file colors.h.

◆ transparent

constexpr color_t ghassanpl::colors::transparent
inlineconstexpr

Definition at line 73 of file colors.h.

◆ white

constexpr color_t ghassanpl::colors::white
inlineconstexpr

Definition at line 72 of file colors.h.

◆ yellow

constexpr color_t ghassanpl::colors::yellow
inlineconstexpr

Definition at line 62 of file colors.h.