SBB Host
Host communication with the self balancing bike.
Loading...
Searching...
No Matches
Colors Namespace Reference

A namespace providing a set of standard colors. More...

Variables

constexpr double red [] = { 0, 0.85, 0.929, 0.494, 0.466, 0.301, 0.635 }
 red tone of the set of colors More...
 
constexpr double green [] = { 0.447, 0.325, 0.694, 0.184, 0.674, 0.745, 0.078 }
 green tone of the set of colors More...
 
constexpr double blue [] = { 0.741, 0.098, 0.125, 0.556, 0.188, 0.933, 0.184 }
 blue tone of the set of colors More...
 
constexpr int size = 7
 number of color in the color set. More...
 

Detailed Description

A namespace providing a set of standard colors.

Namespace providing a set of RGB colors accordingly to the standard MATLAB color scale.

Author
Stefano Lovato
Date
2022

Variable Documentation

◆ blue

constexpr double Colors::blue[] = { 0.741, 0.098, 0.125, 0.556, 0.188, 0.933, 0.184 }
constexpr

blue tone of the set of colors

◆ green

constexpr double Colors::green[] = { 0.447, 0.325, 0.694, 0.184, 0.674, 0.745, 0.078 }
constexpr

green tone of the set of colors

◆ red

constexpr double Colors::red[] = { 0, 0.85, 0.929, 0.494, 0.466, 0.301, 0.635 }
constexpr

red tone of the set of colors

◆ size

constexpr int Colors::size = 7
constexpr

number of color in the color set.