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()

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

Definition at line 72 of file colors.h.

◆ get_blue()

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

Definition at line 62 of file colors.h.

◆ get_brown()

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

Definition at line 70 of file colors.h.

◆ get_cyan()

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

Definition at line 65 of file colors.h.

◆ get_dark_blue()

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

Definition at line 62 of file colors.h.

◆ get_dark_brown()

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

Definition at line 70 of file colors.h.

◆ get_dark_cyan()

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

Definition at line 65 of file colors.h.

◆ get_dark_gray()

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

Definition at line 66 of file colors.h.

◆ get_dark_green()

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

Definition at line 61 of file colors.h.

◆ get_dark_grey()

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

Definition at line 67 of file colors.h.

◆ get_dark_magenta()

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

Definition at line 64 of file colors.h.

◆ get_dark_orange()

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

Definition at line 69 of file colors.h.

◆ get_dark_red()

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

Definition at line 60 of file colors.h.

◆ get_dark_yellow()

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

Definition at line 63 of file colors.h.

◆ get_gray()

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

Definition at line 66 of file colors.h.

◆ get_green()

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

Definition at line 61 of file colors.h.

◆ get_grey()

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

Definition at line 67 of file colors.h.

◆ get_light_blue()

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

Definition at line 62 of file colors.h.

◆ get_light_brown()

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

Definition at line 70 of file colors.h.

◆ get_light_cyan()

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

Definition at line 65 of file colors.h.

◆ get_light_gray()

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

Definition at line 66 of file colors.h.

◆ get_light_green()

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

Definition at line 61 of file colors.h.

◆ get_light_grey()

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

Definition at line 67 of file colors.h.

◆ get_light_magenta()

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

Definition at line 64 of file colors.h.

◆ get_light_orange()

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

Definition at line 69 of file colors.h.

◆ get_light_red()

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

Definition at line 60 of file colors.h.

◆ get_light_yellow()

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

Definition at line 63 of file colors.h.

◆ get_magenta()

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

Definition at line 64 of file colors.h.

◆ get_orange()

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

Definition at line 69 of file colors.h.

◆ get_red()

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

Definition at line 60 of file colors.h.

◆ get_white()

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

Definition at line 73 of file colors.h.

◆ get_yellow()

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

Definition at line 63 of file colors.h.

Variable Documentation

◆ black

color_t ghassanpl::colors::black
inlineconstexpr

Definition at line 72 of file colors.h.

◆ blue

color_t ghassanpl::colors::blue
inlineconstexpr

Definition at line 62 of file colors.h.

◆ brown

color_t ghassanpl::colors::brown
inlineconstexpr

Definition at line 70 of file colors.h.

◆ cyan

color_t ghassanpl::colors::cyan
inlineconstexpr

Definition at line 65 of file colors.h.

◆ dark_blue

color_t ghassanpl::colors::dark_blue
inlineconstexpr

Definition at line 62 of file colors.h.

◆ dark_brown

color_t ghassanpl::colors::dark_brown
inlineconstexpr

Definition at line 70 of file colors.h.

◆ dark_cyan

color_t ghassanpl::colors::dark_cyan
inlineconstexpr

Definition at line 65 of file colors.h.

◆ dark_gray

color_t ghassanpl::colors::dark_gray
inlineconstexpr

Definition at line 66 of file colors.h.

◆ dark_green

color_t ghassanpl::colors::dark_green
inlineconstexpr

Definition at line 61 of file colors.h.

◆ dark_grey

color_t ghassanpl::colors::dark_grey
inlineconstexpr

Definition at line 67 of file colors.h.

◆ dark_magenta

color_t ghassanpl::colors::dark_magenta
inlineconstexpr

Definition at line 64 of file colors.h.

◆ dark_orange

color_t ghassanpl::colors::dark_orange
inlineconstexpr

Definition at line 69 of file colors.h.

◆ dark_red

color_t ghassanpl::colors::dark_red
inlineconstexpr

Definition at line 60 of file colors.h.

◆ dark_yellow

color_t ghassanpl::colors::dark_yellow
inlineconstexpr

Definition at line 63 of file colors.h.

◆ gray

color_t ghassanpl::colors::gray
inlineconstexpr

Definition at line 66 of file colors.h.

◆ green

color_t ghassanpl::colors::green
inlineconstexpr

Definition at line 61 of file colors.h.

◆ grey

color_t ghassanpl::colors::grey
inlineconstexpr

Definition at line 67 of file colors.h.

◆ light_blue

color_t ghassanpl::colors::light_blue
inlineconstexpr

Definition at line 62 of file colors.h.

◆ light_brown

color_t ghassanpl::colors::light_brown
inlineconstexpr

Definition at line 70 of file colors.h.

◆ light_cyan

color_t ghassanpl::colors::light_cyan
inlineconstexpr

Definition at line 65 of file colors.h.

◆ light_gray

color_t ghassanpl::colors::light_gray
inlineconstexpr

Definition at line 66 of file colors.h.

◆ light_green

color_t ghassanpl::colors::light_green
inlineconstexpr

Definition at line 61 of file colors.h.

◆ light_grey

color_t ghassanpl::colors::light_grey
inlineconstexpr

Definition at line 67 of file colors.h.

◆ light_magenta

color_t ghassanpl::colors::light_magenta
inlineconstexpr

Definition at line 64 of file colors.h.

◆ light_orange

color_t ghassanpl::colors::light_orange
inlineconstexpr

Definition at line 69 of file colors.h.

◆ light_red

color_t ghassanpl::colors::light_red
inlineconstexpr

Definition at line 60 of file colors.h.

◆ light_yellow

color_t ghassanpl::colors::light_yellow
inlineconstexpr

Definition at line 63 of file colors.h.

◆ magenta

color_t ghassanpl::colors::magenta
inlineconstexpr

Definition at line 64 of file colors.h.

◆ orange

color_t ghassanpl::colors::orange
inlineconstexpr

Definition at line 69 of file colors.h.

◆ red

color_t ghassanpl::colors::red
inlineconstexpr

Definition at line 60 of file colors.h.

◆ transparent

color_t ghassanpl::colors::transparent
inlineconstexpr

Definition at line 74 of file colors.h.

◆ white

color_t ghassanpl::colors::white
inlineconstexpr

Definition at line 73 of file colors.h.

◆ yellow

color_t ghassanpl::colors::yellow
inlineconstexpr

Definition at line 63 of file colors.h.