60 template <
typename Color,
typename Derived>
66 template <
typename Color>
72 template <color_space ColorSpace,
typename BaseComponent,
typename ViewComponent = BaseComponent, std::
size_t ColorComponentCount = 3,
typename Derived =
void>
74 public basic_vector<BaseComponent, ColorComponentCount + 1>
78 typedef Derived derived_type;
92 template <
typename To,
typename From>
95 if constexpr (std::is_same_v<From, To>)
97 else if constexpr (std::is_integral_v<To> && std::is_floating_point_v<From>)
98 return static_cast<To
>(aComponent * std::numeric_limits<To>::max());
99 else if constexpr (std::is_floating_point_v<To> && std::is_integral_v<From>)
101 if constexpr (!std::is_integral_v<view_component>)
102 return static_cast<To
>(aComponent) / std::numeric_limits<From>::max();
104 return static_cast<To
>(aComponent) / std::numeric_limits<view_component>::max();
107 return static_cast<To
>(aComponent);
111 using base_type::base_type;
132 return convert<view_component>(aComponent);
138 template <
typename T>
148 template <
typename T>
156 return return_type{ to_abstract(*
this) }.set_alpha(aAlpha);
158 template <
typename T>
161 return return_type{ to_abstract(*
this) }.set_alpha(aAlpha);
165 return return_type{ to_abstract(*
this) }.with_alpha(convert<scalar>(
alpha()) * convert<scalar>(aAlpha));
167 template <
typename T>
170 return return_type{ to_abstract(*
this) }.with_alpha(convert<scalar>(
alpha()) * convert<scalar>(aAlpha));
174 template <color_space ColorSpace,
typename BaseComponent,
typename ViewComponent = BaseComponent,
typename Derived =
void>
208 basic_rgb_color(uint32_t aRed, uint32_t aGreen, uint32_t aBlue, uint32_t aAlpha = 0xFF) :
210 template <
typename T>
211 basic_rgb_color(T aRed, T aGreen, T aBlue, T aAlpha = 1.0, std::enable_if_t<std::is_scalar_v<T> && !std::is_same_v<view_component, T>,
sfinae> = {}) :
257 template <
typename T>
260 return convert<T>(base_type::operator[](0));
262 template <
typename T>
265 return convert<T>(base_type::operator[](1));
267 template <
typename T>
270 return convert<T>(base_type::operator[](2));
287 template <
typename T>
293 template <
typename T>
299 template <
typename T>
317 template <
typename T>
322 template <
typename T>
327 template <
typename T>
362 bool operator==(
const self_type& aOther)
const;
363 bool operator<(
const self_type& aOther)
const;
1074 mix(aLhs.
red<
double>(), aRhs.
red<
double>(), aMixValue),
1076 mix(aLhs.
blue<
double>(), aRhs.
blue<
double>(), aMixValue),
1077 mix(aLhs.
alpha<
double>(), aRhs.
alpha<
double>(), aMixValue) };
return_type & set_alpha(view_component aAlpha)
BaseComponent base_component
return_type & set_alpha(T aAlpha)
basic_color(const self_type &aOther)
view_component alpha() const
static constexpr std::size_t component_count
static constexpr color_space color_space
return_type with_alpha(T aAlpha) const
static constexpr std::size_t alpha_component_index
static To convert(From aComponent)
color_return_type_cracker< self_type, derived_type >::return_type return_type
return_type with_combined_alpha(T aAlpha) const
basic_color(const basic_vector< BaseComponent, ColorComponentCount > &aNoAlpha)
self_type & operator=(const self_type &aOther)
static view_component base_to_view(base_component aComponent)
return_type with_alpha(view_component aAlpha) const
return_type with_combined_alpha(view_component aAlpha) const
ViewComponent view_component
view_component green() const
return_type & set_alpha(view_component aAlpha)
basic_rgb_color(const vec3 &aBaseNoAlpha)
BaseComponent base_component
return_type & lighten(view_component aDelta)
return_type lighter(view_component aDelta) const
static return_type from_hsv(scalar aHue, scalar aSaturation, scalar aValue, scalar aAlpha=1.0)
return_type & darken(view_component aDelta)
basic_rgb_color(uint32_t aRed, uint32_t aGreen, uint32_t aBlue, uint32_t aAlpha=0xFF)
basic_rgb_color(view_component aRed, view_component aGreen, view_component aBlue, view_component aAlpha=0xFF)
return_type operator~() const
return_type with_green(T aGreen) const
return_type mix(const self_type &aOther, scalar aValue) const
return_type & set_red(T aRed)
basic_rgb_color(const self_type &aOther)
std::string to_string() const
return_type shaded(view_component aDelta) const
return_type & unshade(view_component aDelta)
return_type & set_red(view_component aRed)
static const argb RedShift
view_component alpha() const
return_type mid(const self_type &aOther) const
bool similar_intensity(const self_type &aOther, scalar aThreshold=0.5) const
return_type & set_green(T aGreen)
return_type with_red(T aRed) const
self_type & operator=(const self_type &aOther)
return_type unshaded(view_component aDelta) const
return_type with_red(view_component aRed) const
bool light(scalar aThreshold=0.50) const
self_type & operator=(const base_type &aOther)
static To convert(From aComponent)
return_type inverse() const
color_return_type_cracker< self_type, derived_type >::return_type return_type
basic_rgb_color(int32_t aRed, int32_t aGreen, int32_t aBlue, int32_t aAlpha=0xFF)
return_type with_green(view_component aGreen) const
static const argb AlphaShift
return_type & set_blue(view_component aBlue)
bool dark(scalar aThreshold=0.50) const
return_type same_lightness_as(const self_type &aOther) const
view_component blue() const
basic_rgb_color(T aRed, T aGreen, T aBlue, T aAlpha=1.0, std::enable_if_t< std::is_scalar_v< T > &&!std::is_same_v< view_component, T >, sfinae >={})
return_type & operator+=(view_component aDelta)
std::string to_hex_string() const
static return_type from_hsl(scalar aHue, scalar aSaturation, scalar aLightness, scalar aAlpha=1.0)
auto operator<=>(const self_type &aOther) const =default
return_type & set_blue(T aBlue)
return_type & shade(view_component aDelta)
basic_rgb_color(const vec4 &aBase)
return_type & set_green(view_component aGreen)
return_type with_blue(view_component aBlue) const
static self_type from_argb(argb aValue)
view_component red() const
static view_component base_to_view(base_component aComponent)
return_type & operator-=(view_component aDelta)
return_type with_lightness(scalar aLightness) const
static const argb BlueShift
static const argb GreenShift
return_type monochrome() const
basic_rgb_color(argb aValue)
return_type darker(view_component aDelta) const
ViewComponent view_component
return_type with_blue(T aBlue) const
static const sRGB_color AliceBlue
static const sRGB_color LightSkyBlue
static const sRGB_color DarkOliveGreen
static const sRGB_color Plum2
static const sRGB_color Gray25
static const sRGB_color MediumPurple1
static const sRGB_color Orchid1
static const sRGB_color Grey82
static const sRGB_color Gray14
static const sRGB_color Firebrick1
static const sRGB_color LightYellow4
static const sRGB_color LightCyan3
static const sRGB_color Gray6
static const sRGB_color DarkSeaGreen3
static const sRGB_color Gray57
static const sRGB_color Khaki4
static const sRGB_color GreenYellow
static const sRGB_color LightGoldenrod2
static const sRGB_color Gray2
static const sRGB_color LightGoldenrodYellow
static const sRGB_color Grey97
static const sRGB_color Grey75
static const sRGB_color PaleTurquoise3
static const sRGB_color PaleVioletRed2
static const sRGB_color Seashell
static const sRGB_color Yellow1
static const sRGB_color Gray69
static const sRGB_color GhostWhite
static const sRGB_color AntiqueWhite2
static const sRGB_color Grey58
static const sRGB_color Gray53
static const sRGB_color Grey57
static const sRGB_color DeepSkyBlue3
static const sRGB_color Grey31
auto operator<=>(const sRGB_color &aOther) const =default
static const sRGB_color AntiqueWhite
static const sRGB_color PaleTurquoise2
static const sRGB_color Gray81
static const sRGB_color Chartreuse
static const sRGB_color DeepPink
static const sRGB_color Turquoise
static const sRGB_color Gray60
static const sRGB_color SkyBlue
static const sRGB_color DarkOliveGreen4
static const sRGB_color NavajoWhite4
static const sRGB_color Gray61
static const sRGB_color Grey83
static const sRGB_color Plum
static const sRGB_color Thistle1
static const sRGB_color LawnGreen
static const sRGB_color OliveDrab
static const sRGB_color Gray96
static const sRGB_color Grey0
static const sRGB_color Grey70
static const sRGB_color Gray62
static const sRGB_color Sienna1
static const sRGB_color PaleGreen1
static const sRGB_color Gray88
static const sRGB_color Grey98
static const sRGB_color Gray24
static const sRGB_color LightSkyBlue2
static const sRGB_color SeaGreen
static const sRGB_color DarkOrange3
static const sRGB_color Honeydew4
static const sRGB_color Tomato4
static const sRGB_color PaleVioletRed
static const sRGB_color Gray18
static const sRGB_color SlateGray
static const sRGB_color Grey3
static const sRGB_color PaleTurquoise
static const sRGB_color HotPink
static const sRGB_color Aquamarine4
static const sRGB_color NavajoWhite
static const sRGB_color Gray22
static const sRGB_color Gray50
static const sRGB_color Chocolate
static const sRGB_color RoyalBlue1
static const sRGB_color Salmon1
static const sRGB_color Gray7
static const sRGB_color MistyRose3
static const sRGB_color Coral
static const sRGB_color Goldenrod4
static const sRGB_color MediumPurple4
static const sRGB_color LightPink1
static const sRGB_color Grey72
static const sRGB_color Gray4
static const sRGB_color LightSkyBlue1
static const sRGB_color Gray77
static const sRGB_color Pink3
static const sRGB_color Grey86
static const sRGB_color Chocolate1
static const sRGB_color PaleVioletRed4
static const sRGB_color Grey26
static const sRGB_color Khaki
static const sRGB_color Grey99
static const sRGB_color RosyBrown
static const sRGB_color Gray67
static const sRGB_color Grey62
static const sRGB_color DeepSkyBlue
static const sRGB_color LightCyan2
static const sRGB_color Pink
static const sRGB_color Grey40
static const sRGB_color Grey
static const sRGB_color Grey60
static const sRGB_color OldLace
static const sRGB_color Silver
static const sRGB_color LavenderBlush2
static const sRGB_color PaleGoldenrod
static const sRGB_color SpringGreen3
static const sRGB_color Cornsilk1
static const sRGB_color Magenta1
static const sRGB_color Snow3
static const sRGB_color Gray28
static const sRGB_color MediumBlue
static const sRGB_color LightGoldenrod
static sRGB_color from_linear(const linear_color &aLinear)
static const sRGB_color DebianRed
static const sRGB_color DarkGrey
static const sRGB_color MediumVioletRed
static const sRGB_color Grey36
static const sRGB_color DeepSkyBlue2
static const sRGB_color Gray76
static const sRGB_color MediumOrchid1
static const sRGB_color Grey63
static const sRGB_color Grey85
static const sRGB_color MistyRose4
static const sRGB_color Seashell2
static const sRGB_color Chartreuse3
static const sRGB_color SpringGreen1
static const sRGB_color LightGoldenrod1
static const sRGB_color Burlywood1
static const sRGB_color Grey53
static const sRGB_color MediumSeaGreen
static const sRGB_color PaleGreen4
static const sRGB_color Grey80
static const sRGB_color RoyalBlue2
static const sRGB_color DarkCyan
static const sRGB_color Grey8
static const sRGB_color DimGray
static const sRGB_color Wheat1
static const sRGB_color Tan3
static const sRGB_color Gainsboro
static const sRGB_color SlateGray1
static const sRGB_color Gray36
static const sRGB_color DarkMagenta
static const sRGB_color LightSalmon2
static const sRGB_color RosyBrown3
static const sRGB_color Ivory2
static const sRGB_color Bisque
static const sRGB_color Grey37
static const sRGB_color Gold
static const sRGB_color Maroon3
static const sRGB_color Seashell1
static const sRGB_color Green3
static const sRGB_color SteelBlue2
static const sRGB_color SkyBlue4
static const sRGB_color Khaki3
static const sRGB_color Sienna
static const sRGB_color Gray30
static const sRGB_color SlateGrey
static const sRGB_color Goldenrod3
static const sRGB_color Grey84
static const sRGB_color SkyBlue2
static const sRGB_color LightSlateGrey
static const sRGB_color LightSalmon4
static const sRGB_color Ivory1
static const sRGB_color Gray82
static const sRGB_color LightPink
static const sRGB_color Gray66
static const sRGB_color DarkGoldenrod
static const sRGB_color RoyalBlue3
sRGB_color & operator=(const sRGB_color &aOther)
static const sRGB_color Grey65
static const sRGB_color SeaGreen1
static const sRGB_color DodgerBlue1
static const sRGB_color SteelBlue3
static const sRGB_color Grey38
static const sRGB_color MediumPurple
static const sRGB_color MediumPurple2
static const sRGB_color Gray75
static const sRGB_color IndianRed1
static const sRGB_color DimGrey
static const sRGB_color Coral4
static const sRGB_color DarkSlateGray
static const sRGB_color Aquamarine
static const sRGB_color FloralWhite
static const sRGB_color Gray33
static const sRGB_color Beige
static const sRGB_color LemonChiffon3
bool operator==(const sRGB_color &aOther) const
static const sRGB_color LightCyan4
static const sRGB_color Wheat4
static const sRGB_color Gray74
sRGB_color & operator=(const base_type &aOther)
static const sRGB_color Firebrick3
static const sRGB_color MidnightBlue
static const sRGB_color PapayaWhip
static const sRGB_color NavajoWhite2
static const sRGB_color Orchid
static const sRGB_color SlateBlue3
static const sRGB_color Grey17
static const sRGB_color LavenderBlush1
static const sRGB_color LightYellow3
static const sRGB_color MediumOrchid
static const sRGB_color Cyan3
static const sRGB_color Grey51
static const sRGB_color Gray100
static const sRGB_color Cyan4
static const sRGB_color Yellow
static const sRGB_color OrangeRed4
static const sRGB_color Seashell3
static const sRGB_color RosyBrown1
static const sRGB_color LightGray
static const sRGB_color Cornsilk
static const sRGB_color Ivory4
static const sRGB_color Gray58
static const sRGB_color LightGrey
static const sRGB_color Red3
static const sRGB_color Thistle2
static const sRGB_color Gray80
static const sRGB_color Coral3
static const sRGB_color PeachPuff3
static const sRGB_color Gray95
static const sRGB_color Bisque2
static const sRGB_color Grey6
static const sRGB_color Violet
static const sRGB_color Grey78
static const sRGB_color Grey54
static const sRGB_color Purple4
static const sRGB_color Green4
static const sRGB_color LightBlue4
static const sRGB_color Grey90
static const sRGB_color SlateBlue
static const sRGB_color Gray79
static const sRGB_color LightSteelBlue
static const sRGB_color Grey49
static const sRGB_color ForestGreen
static const sRGB_color Khaki1
static const sRGB_color Grey29
static const sRGB_color DarkOrchid4
static const sRGB_color Gray70
static const sRGB_color Gray11
static const sRGB_color Grey88
static const sRGB_color LightCyan1
static const sRGB_color DarkKhaki
static const sRGB_color Gray39
static const sRGB_color Gray63
static const sRGB_color Linen
static const sRGB_color LightGreen
static const sRGB_color Brown3
static const sRGB_color Orange
static const sRGB_color WhiteSmoke
static const sRGB_color DarkGoldenrod1
sRGB_color(const abstract_type &aOther)
static const sRGB_color LightPink2
static const sRGB_color LightPink4
static const sRGB_color Thistle4
static const sRGB_color DarkViolet
static const sRGB_color DarkOrange2
static const sRGB_color Magenta2
static const sRGB_color LightSkyBlue3
static const sRGB_color Thistle
static const sRGB_color Lavender
static const sRGB_color Maroon1
static const sRGB_color MediumSpringGreen
static const sRGB_color Wheat
static const sRGB_color Gray23
static const sRGB_color White
static const sRGB_color LightYellow
static const sRGB_color LightSteelBlue1
static const sRGB_color Gray31
static const sRGB_color LightPink3
static const sRGB_color LightGoldenrod3
static const sRGB_color Gray43
static const sRGB_color Grey92
static const sRGB_color Magenta
static const sRGB_color Burlywood
static const sRGB_color Pink4
static const sRGB_color Salmon3
static const sRGB_color Grey47
static const sRGB_color Grey34
static const sRGB_color Gray56
static const sRGB_color Gray37
static const sRGB_color Seashell4
static const sRGB_color Turquoise1
static const sRGB_color Red
static const sRGB_color Gray17
static const sRGB_color Cyan
sRGB_color(const sRGB_color &aOther)
static const sRGB_color PaleVioletRed1
sRGB_color(const base_type &aOther)
static const sRGB_color Gray59
static const sRGB_color LemonChiffon4
static const sRGB_color Thistle3
static const sRGB_color Grey76
static const sRGB_color SteelBlue
static const sRGB_color LightCoral
static const sRGB_color LemonChiffon2
static const sRGB_color Gray51
static const sRGB_color Gray5
static const sRGB_color SlateGray2
static const sRGB_color Yellow2
static const sRGB_color OliveDrab2
static const sRGB_color Maroon2
static const sRGB_color Grey87
static const sRGB_color Tan1
static const sRGB_color Gray20
static const sRGB_color LightGoldenrod4
static const sRGB_color OliveDrab3
static const sRGB_color OrangeRed3
static const sRGB_color Peru
static const sRGB_color LightBlue
static const sRGB_color Gray90
bool operator<(const sRGB_color &aOther) const
static const sRGB_color MediumOrchid3
static const sRGB_color LemonChiffon1
static const sRGB_color DarkSalmon
static const sRGB_color Cornsilk3
static const sRGB_color Gray15
static const sRGB_color Gray40
static const sRGB_color DeepPink3
static const sRGB_color Grey21
static const sRGB_color SeaGreen4
static const sRGB_color Purple1
static const sRGB_color SaddleBrown
static const sRGB_color Gray73
static const sRGB_color Gray52
static const sRGB_color Grey71
static const sRGB_color Grey66
static const sRGB_color Cornsilk2
static const sRGB_color Goldenrod
static const sRGB_color CadetBlue4
static const sRGB_color Grey77
static const sRGB_color Grey5
static const sRGB_color Brown2
static const sRGB_color Gray72
static const sRGB_color Turquoise3
static const sRGB_color Grey69
linear_color to_linear() const
static const sRGB_color Orchid2
static const sRGB_color Snow1
static const sRGB_color SpringGreen
static const sRGB_color DarkOrange1
static const sRGB_color Chocolate4
static const sRGB_color DarkSeaGreen1
static const sRGB_color DarkOrchid1
static const sRGB_color Firebrick4
static const sRGB_color LightSteelBlue2
static const sRGB_color CadetBlue3
static const sRGB_color Grey35
static const sRGB_color DarkSlateGray1
static const sRGB_color LightSlateBlue
static const sRGB_color BlueViolet
static const sRGB_color Wheat2
static const sRGB_color Pink2
static const sRGB_color Burlywood3
static const sRGB_color LightYellow2
static const sRGB_color Grey61
static const sRGB_color Grey44
static const sRGB_color Firebrick
static const sRGB_color Orange4
static const sRGB_color Grey32
static const sRGB_color Aquamarine3
static const sRGB_color Grey18
static const sRGB_color VioletRed1
static const sRGB_color Tomato3
static const sRGB_color VioletRed2
static const sRGB_color Snow2
static const sRGB_color HotPink1
static const sRGB_color LightBlue2
static const sRGB_color NavajoWhite1
static const sRGB_color DarkSeaGreen
static const sRGB_color DarkSlateBlue
static const sRGB_color PaleGreen
static const sRGB_color DeepPink4
static const sRGB_color Plum1
static const sRGB_color Chartreuse2
static const sRGB_color Gray83
static const sRGB_color Grey48
static const sRGB_color Yellow4
static const sRGB_color Yellow3
static const sRGB_color Honeydew1
static const sRGB_color SlateBlue1
static const sRGB_color Goldenrod2
static const sRGB_color IndianRed
static const sRGB_color Gray99
static const sRGB_color Green1
static const sRGB_color Blue2
static const sRGB_color Khaki2
static const sRGB_color Grey25
static const sRGB_color Blue4
static const sRGB_color SkyBlue1
static const sRGB_color Gray
static const sRGB_color SandyBrown
static const sRGB_color PeachPuff
static const sRGB_color Grey12
static const sRGB_color Grey1
static const sRGB_color SeaGreen2
static const sRGB_color DarkOrchid2
static const sRGB_color LavenderBlush3
static const sRGB_color Plum4
static const sRGB_color Tomato2
static const sRGB_color Salmon4
static const sRGB_color MediumTurquoise
static const sRGB_color LightYellow1
static const sRGB_color Gold1
static const sRGB_color PeachPuff2
static const sRGB_color Orchid4
static const sRGB_color Gray3
static const sRGB_color DodgerBlue3
static const sRGB_color Tan4
static const sRGB_color IndianRed2
static const sRGB_color SteelBlue4
static const sRGB_color Gold3
static const sRGB_color Chocolate2
static const sRGB_color Grey94
static const sRGB_color Grey81
static const sRGB_color Azure2
static const sRGB_color Grey55
static const sRGB_color Cyan2
static const sRGB_color Sienna3
static const sRGB_color DarkTurquoise
static const sRGB_color Grey11
static const sRGB_color MintCream
static const sRGB_color RoyalBlue4
static const sRGB_color PeachPuff4
static const sRGB_color DeepSkyBlue4
static const sRGB_color Gray54
static const sRGB_color Gray9
static const sRGB_color Maroon
static const sRGB_color LavenderBlush
static const sRGB_color Gray1
static const sRGB_color Gray78
static const sRGB_color Grey68
static const sRGB_color Gray46
static const sRGB_color DarkGoldenrod3
static const sRGB_color LightSalmon
static const sRGB_color PaleGreen2
static const sRGB_color Grey19
static const sRGB_color Magenta4
static const sRGB_color YellowGreen
static const sRGB_color Gray55
static const sRGB_color DarkSlateGray3
static const sRGB_color Gray32
static const sRGB_color OliveDrab4
static const sRGB_color Gray21
static const sRGB_color SlateBlue2
static const sRGB_color Grey15
static const sRGB_color HotPink3
static const sRGB_color Azure3
static const sRGB_color DarkRed
static const sRGB_color LimeGreen
static const sRGB_color SkyBlue3
static const sRGB_color Gray71
static const sRGB_color Grey56
static const sRGB_color Gray16
static const sRGB_color Grey45
static const sRGB_color PaleTurquoise1
static const sRGB_color Purple2
static const sRGB_color Grey24
static const sRGB_color DarkGray
static const sRGB_color Gray87
static const sRGB_color SlateGray3
static const sRGB_color Grey100
static const sRGB_color SpringGreen2
static const sRGB_color Grey93
static const sRGB_color Honeydew
static const sRGB_color DodgerBlue2
static const sRGB_color Plum3
static const sRGB_color Grey39
static const sRGB_color AntiqueWhite3
static const sRGB_color PeachPuff1
static const sRGB_color Gray13
static const sRGB_color Grey10
static const sRGB_color Sienna2
scalar brightness() const
static const sRGB_color Grey30
static const sRGB_color Grey22
static const sRGB_color Bisque1
static const sRGB_color Pink1
static const sRGB_color LemonChiffon
static const sRGB_color Magenta3
static const sRGB_color SeaGreen3
static const sRGB_color PaleVioletRed3
static const sRGB_color Gray94
static const sRGB_color Brown4
static const sRGB_color Cornsilk4
static const sRGB_color RosyBrown4
static const sRGB_color Gray45
static const sRGB_color DodgerBlue4
static const sRGB_color Bisque3
static const sRGB_color DarkSeaGreen2
static const sRGB_color Gray34
static const sRGB_color LavenderBlush4
static const sRGB_color Gray93
static const sRGB_color Red2
static const sRGB_color Blue3
static const sRGB_color Honeydew3
static const sRGB_color Grey23
static const sRGB_color Gray97
static const sRGB_color DarkSlateGrey
static const sRGB_color Purple3
static const sRGB_color Gray64
static const sRGB_color Grey74
static const sRGB_color Chocolate3
static const sRGB_color Tomato1
static const sRGB_color Grey16
static const sRGB_color Gray42
static const sRGB_color Aquamarine1
static const sRGB_color DeepPink1
static const sRGB_color Coral2
static const sRGB_color Gray98
static const sRGB_color Blue
static const sRGB_color Turquoise4
static const sRGB_color VioletRed
static const sRGB_color Wheat3
static const sRGB_color SteelBlue1
static const sRGB_color LightSalmon1
static const sRGB_color Grey9
static const sRGB_color Grey20
static const sRGB_color Tan2
static const sRGB_color Grey52
static const sRGB_color Purple
static const sRGB_color Gray35
static const sRGB_color Gray26
static optional< sRGB_color > from_name(std::string const &aName)
static const sRGB_color Orchid3
static const sRGB_color DeepPink2
static const sRGB_color Grey64
static const sRGB_color DarkOrchid
static const sRGB_color MediumSlateBlue
static const sRGB_color RoyalBlue
static const sRGB_color Grey33
static const sRGB_color IndianRed3
static const sRGB_color DarkOliveGreen1
static const sRGB_color Gray47
static const sRGB_color Grey67
static const sRGB_color Grey59
static const sRGB_color Bisque4
static const sRGB_color Navy
static const sRGB_color MistyRose1
static const sRGB_color Red4
static const sRGB_color Chartreuse1
static const sRGB_color Azure1
static const sRGB_color Gold4
static const sRGB_color OrangeRed
static const sRGB_color CadetBlue1
static const sRGB_color DarkGreen
static const sRGB_color AntiqueWhite4
static const sRGB_color RosyBrown2
static const sRGB_color Grey89
static const sRGB_color Gray38
static const sRGB_color MediumPurple3
static const sRGB_color Gray19
static const sRGB_color Orange2
static const sRGB_color HotPink2
static const sRGB_color DarkOrange4
static const sRGB_color Cyan1
static const sRGB_color Ivory
static const sRGB_color DarkBlue
static const sRGB_color BlanchedAlmond
static const sRGB_color Black
static const sRGB_color Brown
static const sRGB_color Gray68
static const sRGB_color DarkOliveGreen2
static const sRGB_color Gold2
static const sRGB_color DarkSeaGreen4
static const sRGB_color MistyRose2
static const sRGB_color Grey95
static const sRGB_color LightBlue1
static const sRGB_color CadetBlue2
static const sRGB_color Grey91
static const sRGB_color LightSalmon3
static const sRGB_color Honeydew2
static const sRGB_color Gray48
static const sRGB_color Gray10
static const sRGB_color Gray89
static const sRGB_color Firebrick2
static const sRGB_color Gray65
static const sRGB_color Grey4
static const sRGB_color Blue1
static const sRGB_color LightSeaGreen
static const sRGB_color Azure
static const sRGB_color Gray29
static const sRGB_color Grey28
static const sRGB_color CornflowerBlue
static const sRGB_color DarkGoldenrod4
static const sRGB_color VioletRed3
static const sRGB_color DodgerBlue
static const sRGB_color Goldenrod1
static const sRGB_color DarkOliveGreen3
static const sRGB_color Green2
static const sRGB_color PaleTurquoise4
static const sRGB_color HotPink4
static const sRGB_color Grey14
static const sRGB_color OrangeRed1
static const sRGB_color PowderBlue
sRGB_color(const linear_color &aLinear)
static const sRGB_color Azure4
static const sRGB_color Gray86
static const sRGB_color SpringGreen4
static const sRGB_color Gray8
sRGB_color(std::string const &aTextValue)
static const sRGB_color CadetBlue
static const sRGB_color Tomato
static const sRGB_color Tan
static const sRGB_color Grey46
static const sRGB_color Grey41
static const sRGB_color Maroon4
static const sRGB_color MediumAquamarine
static const sRGB_color AntiqueWhite1
static const sRGB_color Moccasin
static const sRGB_color Snow
static const sRGB_color Grey7
static const sRGB_color Coral1
static const sRGB_color Ivory3
static const sRGB_color Green
static const sRGB_color Salmon2
static const sRGB_color Gray85
static const sRGB_color Burlywood4
static const sRGB_color Grey50
static const sRGB_color Gray91
static const sRGB_color DarkSlateGray2
static const sRGB_color Orange1
static const sRGB_color VioletRed4
static const sRGB_color SlateBlue4
static const sRGB_color DarkOrchid3
static const sRGB_color DarkSlateGray4
static const sRGB_color Brown1
static const sRGB_color LightSlateGray
static const sRGB_color DarkOrange
static const sRGB_color Red1
static const sRGB_color Gray27
static const sRGB_color Sienna4
static const sRGB_color Gray92
static const sRGB_color Grey13
static const sRGB_color Gray12
static const sRGB_color Chartreuse4
static const sRGB_color LightSkyBlue4
static const sRGB_color Grey96
static const sRGB_color Orange3
static const sRGB_color SlateGray4
static const sRGB_color Gray41
static const sRGB_color NavyBlue
static const sRGB_color Grey73
static const sRGB_color MistyRose
static const sRGB_color Gray44
static const sRGB_color Grey27
static const sRGB_color Gray84
static const sRGB_color Grey42
static const sRGB_color DeepSkyBlue1
static const sRGB_color Aquamarine2
static const sRGB_color Gray0
static const sRGB_color Grey79
static const sRGB_color NavajoWhite3
static const sRGB_color Salmon
static const sRGB_color Snow4
static const sRGB_color OrangeRed2
static const sRGB_color LightSteelBlue3
static const sRGB_color OliveDrab1
static const sRGB_color DarkGoldenrod2
static const sRGB_color Burlywood2
static const sRGB_color MediumOrchid2
static const sRGB_color PaleGreen3
static const sRGB_color Gray49
static const sRGB_color LightCyan
static const sRGB_color Grey43
static const sRGB_color MediumOrchid4
static const sRGB_color LightBlue3
static const sRGB_color Turquoise2
static const sRGB_color Grey2
static const sRGB_color IndianRed4
static const sRGB_color LightSteelBlue4
self_type & operator=(const self_type &other)
value_type operator[](uint32_t aIndex) const
#define define_setting_type(T)
scalar from_sRGB(color_space srcSpace, scalar srcValue, scalar scale)
point mix(const point &aLhs, const point &aRhs, double aMixValue)
optional< color > optional_color
scalar sRGB_to_linear(scalar s, scalar scale=1.0)
scalar linear_to_sRGB(scalar l, scalar scale=1.0)
scalar to_sRGB(color_space srcSpace, scalar srcValue, scalar scale)
basic_rgb_color< color_space::LinearRGB, scalar > linear_color