PeriDyno 1.0.0
Loading...
Searching...
No Matches
Color.h
Go to the documentation of this file.
1#pragma once
2#include <Platform.h>
3
4namespace dyno
5{
6 class Color
7 {
8 public:
9 DYN_FUNC Color() { r = 0.0f; g = 0.0f; b = 0.0f; }
10
11 explicit DYN_FUNC Color(float c) { r = c; g = c; b = c; }
12
13 //explicit DYN_FUNC Color(int _r, int _g, int _b) { r = float(_r) / 255; g = float(_g) / 255; float(_b) / 255; }
14
15 explicit DYN_FUNC Color(float _r, float _g, float _b) { r = _r; g = _g; b = _b; }
16
17 DYN_FUNC ~Color() {};
18
19 DYN_FUNC void HSVtoRGB(float h, float s, float v)
20 {
21 int i;
22 float f, p, q, t;
23
24 if (s == 0) {
25 // achromatic (grey)
26 r = g = b = v;
27 return;
28 }
29
30 h /= 60; // sector 0 to 5
31 i = (int)floor(h);
32 f = h - i; // factorial part of h
33 p = v * (1 - s);
34 q = v * (1 - s * f);
35 t = v * (1 - s * (1 - f));
36
37 switch (i) {
38 case 0:
39 r = v;
40 g = t;
41 b = p;
42 break;
43 case 1:
44 r = q;
45 g = v;
46 b = p;
47 break;
48 case 2:
49 r = p;
50 g = v;
51 b = t;
52 break;
53 case 3:
54 r = p;
55 g = q;
56 b = v;
57 break;
58 case 4:
59 r = t;
60 g = p;
61 b = v;
62 break;
63 default: // case 5:
64 r = v;
65 g = p;
66 b = q;
67 break;
68 }
69 }
70
71 static Color Snow() { return Color(1.0f, 0.98039f, 0.98039f); }
72 static Color GhostWhite() { return Color(0.97255f, 0.97255f, 1.0f); }
73 static Color WhiteSmoke() { return Color(0.96078f, 0.96078f, 0.96078f); }
74 static Color Gainsboro() { return Color(0.86275f, 0.86275f, 0.86275f); }
75 static Color FloralWhite() { return Color(1.0f, 0.98039f, 0.94118f); }
76 static Color OldLace() { return Color(0.99216f, 0.96078f, 0.90196f); }
77 static Color Linen() { return Color(0.98039f, 0.94118f, 0.90196f); }
78 static Color AntiqueWhite() { return Color(0.98039f, 0.92157f, 0.84314f); }
79 static Color PapayaWhip() { return Color(1.0f, 0.93725f, 0.83529f); }
80 static Color BlanchedAlmond() { return Color(1.0f, 0.92157f, 0.80392f); }
81 static Color Bisque() { return Color(1.0f, 0.89412f, 0.76863f); }
82 static Color PeachPuff() { return Color(1.0f, 0.8549f, 0.72549f); }
83 static Color NavajoWhite() { return Color(1.0f, 0.87059f, 0.67843f); }
84 static Color Moccasin() { return Color(1.0f, 0.89412f, 0.7098f); }
85 static Color Cornsilk() { return Color(1.0f, 0.97255f, 0.86275f); }
86 static Color Ivory() { return Color(1.0f, 1.0f, 0.94118f); }
87 static Color LemonChiffon() { return Color(1.0f, 0.98039f, 0.80392f); }
88 static Color Seashell() { return Color(1.0f, 0.96078f, 0.93333f); }
89 static Color Honeydew() { return Color(0.94118f, 1.0f, 0.94118f); }
90 static Color MintCream() { return Color(0.96078f, 1.0f, 0.98039f); }
91 static Color Azure() { return Color(0.94118f, 1.0f, 1.0f); }
92 static Color AliceBlue() { return Color(0.94118f, 0.97255f, 1.0f); }
93 static Color lavender() { return Color(0.90196f, 0.90196f, 0.98039f); }
94 static Color LavenderBlush() { return Color(1.0f, 0.94118f, 0.96078f); }
95 static Color MistyRose() { return Color(1.0f, 0.89412f, 0.88235f); }
96 static Color White() { return Color(1.0f, 1.0f, 1.0f); }
97 static Color Black() { return Color(0.0f, 0.0f, 0.0f); }
98 static Color DarkSlateGray() { return Color(0.18431f, 0.3098f, 0.3098f); }
99 static Color DimGrey() { return Color(0.41176f, 0.41176f, 0.41176f); }
100 static Color SlateGrey() { return Color(0.43922f, 0.50196f, 0.56471f); }
101 static Color LightSlateGray() { return Color(0.46667f, 0.53333f, 0.6f); }
102 static Color Grey() { return Color(0.7451f, 0.7451f, 0.7451f); }
103 static Color LightGray() { return Color(0.82745f, 0.82745f, 0.82745f); }
104 static Color MidnightBlue() { return Color(0.09804f, 0.09804f, 0.43922f); }
105 static Color NavyBlue() { return Color(0.0f, 0.0f, 0.50196f); }
106 static Color CornflowerBlue() { return Color(0.39216f, 0.58431f, 0.92941f); }
107 static Color DarkSlateBlue() { return Color(0.28235f, 0.23922f, 0.5451f); }
108 static Color SlateBlue() { return Color(0.41569f, 0.35294f, 0.80392f); }
109 static Color MediumSlateBlue() { return Color(0.48235f, 0.40784f, 0.93333f); }
110 static Color LightSlateBlue() { return Color(0.51765f, 0.43922f, 1.0f); }
111 static Color MediumBlue() { return Color(0.0f, 0.0f, 0.80392f); }
112 static Color RoyalBlue() { return Color(0.2549f, 0.41176f, 0.88235f); }
113 static Color Blue() { return Color(0.0f, 0.0f, 1.0f); }
114 static Color DodgerBlue() { return Color(0.11765f, 0.56471f, 1.0f); }
115 static Color DeepSkyBlue() { return Color(0.0f, 0.74902f, 1.0f); }
116 static Color SkyBlue() { return Color(0.52941f, 0.80784f, 0.92157f); }
117 static Color LightSkyBlue() { return Color(0.52941f, 0.80784f, 0.98039f); }
118 static Color SteelBlue() { return Color(0.27451f, 0.5098f, 0.70588f); }
119 static Color LightSteelBlue() { return Color(0.6902f, 0.76863f, 0.87059f); }
120 static Color LightBlue() { return Color(0.67843f, 0.84706f, 0.90196f); }
121 static Color PowderBlue() { return Color(0.6902f, 0.87843f, 0.90196f); }
122 static Color PaleTurquoise() { return Color(0.68627f, 0.93333f, 0.93333f); }
123 static Color DarkTurquoise() { return Color(0.0f, 0.80784f, 0.81961f); }
124 static Color MediumTurquoise() { return Color(0.28235f, 0.81961f, 0.8f); }
125 static Color Turquoise() { return Color(0.25098f, 0.87843f, 0.81569f); }
126 static Color Cyan() { return Color(0.0f, 1.0f, 1.0f); }
127 static Color LightCyan() { return Color(0.87843f, 1.0f, 1.0f); }
128 static Color CadetBlue() { return Color(0.37255f, 0.61961f, 0.62745f); }
129 static Color MediumAquamarine() { return Color(0.4f, 0.80392f, 0.66667f); }
130 static Color Aquamarine() { return Color(0.49804f, 1.0f, 0.83137f); }
131 static Color DarkGreen() { return Color(0.0f, 0.39216f, 0.0f); }
132 static Color DarkOliveGreen() { return Color(0.33333f, 0.41961f, 0.18431f); }
133 static Color DarkSeaGreen() { return Color(0.56078f, 0.73725f, 0.56078f); }
134 static Color SeaGreen() { return Color(0.18039f, 0.5451f, 0.34118f); }
135 static Color MediumSeaGreen() { return Color(0.23529f, 0.70196f, 0.44314f); }
136 static Color LightSeaGreen() { return Color(0.12549f, 0.69804f, 0.66667f); }
137 static Color PaleGreen() { return Color(0.59608f, 0.98431f, 0.59608f); }
138 static Color SpringGreen() { return Color(0.0f, 1.0f, 0.49804f); }
139 static Color LawnGreen() { return Color(0.48627f, 0.98824f, 0.0f); }
140 static Color Green() { return Color(0.0f, 1.0f, 0.0f); }
141 static Color Chartreuse() { return Color(0.49804f, 1.0f, 0.0f); }
142 static Color MedSpringGreen() { return Color(0.0f, 0.98039f, 0.60392f); }
143 static Color GreenYellow() { return Color(0.67843f, 1.0f, 0.18431f); }
144 static Color LimeGreen() { return Color(0.19608f, 0.80392f, 0.19608f); }
145 static Color YellowGreen() { return Color(0.60392f, 0.80392f, 0.19608f); }
146 static Color ForestGreen() { return Color(0.13333f, 0.5451f, 0.13333f); }
147 static Color OliveDrab() { return Color(0.41961f, 0.55686f, 0.13725f); }
148 static Color DarkKhaki() { return Color(0.74118f, 0.71765f, 0.41961f); }
149 static Color PaleGoldenrod() { return Color(0.93333f, 0.9098f, 0.66667f); }
150 static Color LtGoldenrodYello() { return Color(0.98039f, 0.98039f, 0.82353f); }
151 static Color LightYellow() { return Color(1.0f, 1.0f, 0.87843f); }
152 static Color Yellow() { return Color(1.0f, 1.0f, 0.0f); }
153 static Color Gold() { return Color(1.0f, 0.84314f, 0.0f); }
154 static Color LightGoldenrod() { return Color(0.93333f, 0.86667f, 0.5098f); }
155 static Color goldenrod() { return Color(0.8549f, 0.64706f, 0.12549f); }
156 static Color DarkGoldenrod() { return Color(0.72157f, 0.52549f, 0.04314f); }
157 static Color RosyBrown() { return Color(0.73725f, 0.56078f, 0.56078f); }
158 static Color IndianRed() { return Color(0.80392f, 0.36078f, 0.36078f); }
159 static Color SaddleBrown() { return Color(0.5451f, 0.27059f, 0.07451f); }
160 static Color Sienna() { return Color(0.62745f, 0.32157f, 0.17647f); }
161 static Color Peru() { return Color(0.80392f, 0.52157f, 0.24706f); }
162 static Color Burlywood() { return Color(0.87059f, 0.72157f, 0.52941f); }
163 static Color Beige() { return Color(0.96078f, 0.96078f, 0.86275f); }
164 static Color Wheat() { return Color(0.96078f, 0.87059f, 0.70196f); }
165 static Color SandyBrown() { return Color(0.95686f, 0.64314f, 0.37647f); }
166 static Color Tan() { return Color(0.82353f, 0.70588f, 0.54902f); }
167 static Color Chocolate() { return Color(0.82353f, 0.41176f, 0.11765f); }
168 static Color Firebrick() { return Color(0.69804f, 0.13333f, 0.13333f); }
169 static Color Brown() { return Color(0.64706f, 0.16471f, 0.16471f); }
170 static Color DarkSalmon() { return Color(0.91373f, 0.58824f, 0.47843f); }
171 static Color Salmon() { return Color(0.98039f, 0.50196f, 0.44706f); }
172 static Color LightSalmon() { return Color(1.0f, 0.62745f, 0.47843f); }
173 static Color Orange() { return Color(1.0f, 0.64706f, 0.0f); }
174 static Color DarkOrange() { return Color(1.0f, 0.54902f, 0.0f); }
175 static Color Coral() { return Color(1.0f, 0.49804f, 0.31373f); }
176 static Color LightCoral() { return Color(0.94118f, 0.50196f, 0.50196f); }
177 static Color Tomato() { return Color(1.0f, 0.38824f, 0.27843f); }
178 static Color OrangeRed() { return Color(1.0f, 0.27059f, 0.0f); }
179 static Color Red() { return Color(1.0f, 0.0f, 0.0f); }
180 static Color HotPink() { return Color(1.0f, 0.41176f, 0.70588f); }
181 static Color DeepPink() { return Color(1.0f, 0.07843f, 0.57647f); }
182 static Color Pink() { return Color(1.0f, 0.75294f, 0.79608f); }
183 static Color LightPink() { return Color(1.0f, 0.71373f, 0.75686f); }
184 static Color PaleVioletRed() { return Color(0.85882f, 0.43922f, 0.57647f); }
185 static Color Maroon() { return Color(0.6902f, 0.18824f, 0.37647f); }
186 static Color MediumVioletRed() { return Color(0.78039f, 0.08235f, 0.52157f); }
187 static Color VioletRed() { return Color(0.81569f, 0.12549f, 0.56471f); }
188 static Color Magenta() { return Color(1.0f, 0.0f, 1.0f); }
189 static Color Violet() { return Color(0.93333f, 0.5098f, 0.93333f); }
190 static Color Plum() { return Color(0.86667f, 0.62745f, 0.86667f); }
191 static Color Orchid() { return Color(0.8549f, 0.43922f, 0.83922f); }
192 static Color MediumOrchid() { return Color(0.72941f, 0.33333f, 0.82745f); }
193 static Color DarkOrchid() { return Color(0.6f, 0.19608f, 0.8f); }
194 static Color DarkViolet() { return Color(0.58039f, 0.0f, 0.82745f); }
195 static Color BlueViolet() { return Color(0.54118f, 0.16863f, 0.88627f); }
196 static Color Purple() { return Color(0.62745f, 0.12549f, 0.94118f); }
197 static Color MediumPurple() { return Color(0.57647f, 0.43922f, 0.85882f); }
198 static Color Thistle() { return Color(0.84706f, 0.74902f, 0.84706f); }
199 static Color Snow1() { return Color(1.0f, 0.98039f, 0.98039f); }
200 static Color Snow2() { return Color(0.93333f, 0.91373f, 0.91373f); }
201 static Color Snow3() { return Color(0.80392f, 0.78824f, 0.78824f); }
202 static Color Snow4() { return Color(0.5451f, 0.53725f, 0.53725f); }
203 static Color Seashell1() { return Color(1.0f, 0.96078f, 0.93333f); }
204 static Color Seashell2() { return Color(0.93333f, 0.89804f, 0.87059f); }
205 static Color Seashell3() { return Color(0.80392f, 0.77255f, 0.74902f); }
206 static Color Seashell4() { return Color(0.5451f, 0.52549f, 0.5098f); }
207 static Color AntiqueWhite1() { return Color(1.0f, 0.93725f, 0.85882f); }
208 static Color AntiqueWhite2() { return Color(0.93333f, 0.87451f, 0.8f); }
209 static Color AntiqueWhite3() { return Color(0.80392f, 0.75294f, 0.6902f); }
210 static Color AntiqueWhite4() { return Color(0.5451f, 0.51373f, 0.47059f); }
211 static Color Bisque1() { return Color(1.0f, 0.89412f, 0.76863f); }
212 static Color Bisque2() { return Color(0.93333f, 0.83529f, 0.71765f); }
213 static Color Bisque3() { return Color(0.80392f, 0.71765f, 0.61961f); }
214 static Color Bisque4() { return Color(0.5451f, 0.4902f, 0.41961f); }
215 static Color PeachPuff1() { return Color(1.0f, 0.8549f, 0.72549f); }
216 static Color PeachPuff2() { return Color(0.93333f, 0.79608f, 0.67843f); }
217 static Color PeachPuff3() { return Color(0.80392f, 0.68627f, 0.58431f); }
218 static Color PeachPuff4() { return Color(0.5451f, 0.46667f, 0.39608f); }
219 static Color NavajoWhite1() { return Color(1.0f, 0.87059f, 0.67843f); }
220 static Color NavajoWhite2() { return Color(0.93333f, 0.81176f, 0.63137f); }
221 static Color NavajoWhite3() { return Color(0.80392f, 0.70196f, 0.5451f); }
222 static Color NavajoWhite4() { return Color(0.5451f, 0.47451f, 0.36863f); }
223 static Color LemonChiffon1() { return Color(1.0f, 0.98039f, 0.80392f); }
224 static Color LemonChiffon2() { return Color(0.93333f, 0.91373f, 0.74902f); }
225 static Color LemonChiffon3() { return Color(0.80392f, 0.78824f, 0.64706f); }
226 static Color LemonChiffon4() { return Color(0.5451f, 0.53725f, 0.43922f); }
227 static Color Cornsilk1() { return Color(1.0f, 0.97255f, 0.86275f); }
228 static Color Cornsilk2() { return Color(0.93333f, 0.9098f, 0.80392f); }
229 static Color Cornsilk3() { return Color(0.80392f, 0.78431f, 0.69412f); }
230 static Color Cornsilk4() { return Color(0.5451f, 0.53333f, 0.47059f); }
231 static Color Ivory1() { return Color(1.0f, 1.0f, 0.94118f); }
232 static Color Ivory2() { return Color(0.93333f, 0.93333f, 0.87843f); }
233 static Color Ivory3() { return Color(0.80392f, 0.80392f, 0.75686f); }
234 static Color Ivory4() { return Color(0.5451f, 0.5451f, 0.51373f); }
235 static Color Honeydew1() { return Color(0.94118f, 1.0f, 0.94118f); }
236 static Color Honeydew2() { return Color(0.87843f, 0.93333f, 0.87843f); }
237 static Color Honeydew3() { return Color(0.75686f, 0.80392f, 0.75686f); }
238 static Color Honeydew4() { return Color(0.51373f, 0.5451f, 0.51373f); }
239 static Color LavenderBlush1() { return Color(1.0f, 0.94118f, 0.96078f); }
240 static Color LavenderBlush2() { return Color(0.93333f, 0.87843f, 0.89804f); }
241 static Color LavenderBlush3() { return Color(0.80392f, 0.75686f, 0.77255f); }
242 static Color LavenderBlush4() { return Color(0.5451f, 0.51373f, 0.52549f); }
243 static Color MistyRose1() { return Color(1.0f, 0.89412f, 0.88235f); }
244 static Color MistyRose2() { return Color(0.93333f, 0.83529f, 0.82353f); }
245 static Color MistyRose3() { return Color(0.80392f, 0.71765f, 0.7098f); }
246 static Color MistyRose4() { return Color(0.5451f, 0.4902f, 0.48235f); }
247 static Color Azure1() { return Color(0.94118f, 1.0f, 1.0f); }
248 static Color Azure2() { return Color(0.87843f, 0.93333f, 0.93333f); }
249 static Color Azure3() { return Color(0.75686f, 0.80392f, 0.80392f); }
250 static Color Azure4() { return Color(0.51373f, 0.5451f, 0.5451f); }
251 static Color SlateBlue1() { return Color(0.51373f, 0.43529f, 1.0f); }
252 static Color SlateBlue2() { return Color(0.47843f, 0.40392f, 0.93333f); }
253 static Color SlateBlue3() { return Color(0.41176f, 0.34902f, 0.80392f); }
254 static Color SlateBlue4() { return Color(0.27843f, 0.23529f, 0.5451f); }
255 static Color RoyalBlue1() { return Color(0.28235f, 0.46275f, 1.0f); }
256 static Color RoyalBlue2() { return Color(0.26275f, 0.43137f, 0.93333f); }
257 static Color RoyalBlue3() { return Color(0.22745f, 0.37255f, 0.80392f); }
258 static Color RoyalBlue4() { return Color(0.15294f, 0.25098f, 0.5451f); }
259 static Color Blue1() { return Color(0.0f, 0.0f, 1.0f); }
260 static Color Blue2() { return Color(0.0f, 0.0f, 0.93333f); }
261 static Color Blue3() { return Color(0.0f, 0.0f, 0.80392f); }
262 static Color Blue4() { return Color(0.0f, 0.0f, 0.5451f); }
263 static Color DodgerBlue1() { return Color(0.11765f, 0.56471f, 1.0f); }
264 static Color DodgerBlue2() { return Color(0.1098f, 0.52549f, 0.93333f); }
265 static Color DodgerBlue3() { return Color(0.09412f, 0.4549f, 0.80392f); }
266 static Color DodgerBlue4() { return Color(0.06275f, 0.30588f, 0.5451f); }
267 static Color SteelBlue1() { return Color(0.38824f, 0.72157f, 1.0f); }
268 static Color SteelBlue2() { return Color(0.36078f, 0.67451f, 0.93333f); }
269 static Color SteelBlue3() { return Color(0.3098f, 0.58039f, 0.80392f); }
270 static Color SteelBlue4() { return Color(0.21176f, 0.39216f, 0.5451f); }
271 static Color DeepSkyBlue1() { return Color(0.0f, 0.74902f, 1.0f); }
272 static Color DeepSkyBlue2() { return Color(0.0f, 0.69804f, 0.93333f); }
273 static Color DeepSkyBlue3() { return Color(0.0f, 0.60392f, 0.80392f); }
274 static Color DeepSkyBlue4() { return Color(0.0f, 0.40784f, 0.5451f); }
275 static Color SkyBlue1() { return Color(0.52941f, 0.80784f, 1.0f); }
276 static Color SkyBlue2() { return Color(0.49412f, 0.75294f, 0.93333f); }
277 static Color SkyBlue3() { return Color(0.42353f, 0.65098f, 0.80392f); }
278 static Color SkyBlue4() { return Color(0.2902f, 0.43922f, 0.5451f); }
279 static Color LightSkyBlue1() { return Color(0.6902f, 0.88627f, 1.0f); }
280 static Color LightSkyBlue2() { return Color(0.64314f, 0.82745f, 0.93333f); }
281 static Color LightSkyBlue3() { return Color(0.55294f, 0.71373f, 0.80392f); }
282 static Color LightSkyBlue4() { return Color(0.37647f, 0.48235f, 0.5451f); }
283 static Color SlateGray1() { return Color(0.77647f, 0.88627f, 1.0f); }
284 static Color SlateGray2() { return Color(0.72549f, 0.82745f, 0.93333f); }
285 static Color SlateGray3() { return Color(0.62353f, 0.71373f, 0.80392f); }
286 static Color SlateGray4() { return Color(0.42353f, 0.48235f, 0.5451f); }
287 static Color LightSteelBlue1() { return Color(0.79216f, 0.88235f, 1.0f); }
288 static Color LightSteelBlue2() { return Color(0.73725f, 0.82353f, 0.93333f); }
289 static Color LightSteelBlue3() { return Color(0.63529f, 0.7098f, 0.80392f); }
290 static Color LightSteelBlue4() { return Color(0.43137f, 0.48235f, 0.5451f); }
291 static Color LightBlue1() { return Color(0.74902f, 0.93725f, 1.0f); }
292 static Color LightBlue2() { return Color(0.69804f, 0.87451f, 0.93333f); }
293 static Color LightBlue3() { return Color(0.60392f, 0.75294f, 0.80392f); }
294 static Color LightBlue4() { return Color(0.40784f, 0.51373f, 0.5451f); }
295 static Color LightCyan1() { return Color(0.87843f, 1.0f, 1.0f); }
296 static Color LightCyan2() { return Color(0.81961f, 0.93333f, 0.93333f); }
297 static Color LightCyan3() { return Color(0.70588f, 0.80392f, 0.80392f); }
298 static Color LightCyan4() { return Color(0.47843f, 0.5451f, 0.5451f); }
299 static Color PaleTurquoise1() { return Color(0.73333f, 1.0f, 1.0f); }
300 static Color PaleTurquoise2() { return Color(0.68235f, 0.93333f, 0.93333f); }
301 static Color PaleTurquoise3() { return Color(0.58824f, 0.80392f, 0.80392f); }
302 static Color PaleTurquoise4() { return Color(0.4f, 0.5451f, 0.5451f); }
303 static Color CadetBlue1() { return Color(0.59608f, 0.96078f, 1.0f); }
304 static Color CadetBlue2() { return Color(0.55686f, 0.89804f, 0.93333f); }
305 static Color CadetBlue3() { return Color(0.47843f, 0.77255f, 0.80392f); }
306 static Color CadetBlue4() { return Color(0.32549f, 0.52549f, 0.5451f); }
307 static Color Turquoise1() { return Color(0.0f, 0.96078f, 1.0f); }
308 static Color Turquoise2() { return Color(0.0f, 0.89804f, 0.93333f); }
309 static Color Turquoise3() { return Color(0.0f, 0.77255f, 0.80392f); }
310 static Color Turquoise4() { return Color(0.0f, 0.52549f, 0.5451f); }
311 static Color Cyan1() { return Color(0.0f, 1.0f, 1.0f); }
312 static Color Cyan2() { return Color(0.0f, 0.93333f, 0.93333f); }
313 static Color Cyan3() { return Color(0.0f, 0.80392f, 0.80392f); }
314 static Color Cyan4() { return Color(0.0f, 0.5451f, 0.5451f); }
315 static Color DarkSlateGray1() { return Color(0.59216f, 1.0f, 1.0f); }
316 static Color DarkSlateGray2() { return Color(0.55294f, 0.93333f, 0.93333f); }
317 static Color DarkSlateGray3() { return Color(0.47451f, 0.80392f, 0.80392f); }
318 static Color DarkSlateGray4() { return Color(0.32157f, 0.5451f, 0.5451f); }
319 static Color Aquamarine1() { return Color(0.49804f, 1.0f, 0.83137f); }
320 static Color Aquamarine2() { return Color(0.46275f, 0.93333f, 0.77647f); }
321 static Color Aquamarine3() { return Color(0.4f, 0.80392f, 0.66667f); }
322 static Color Aquamarine4() { return Color(0.27059f, 0.5451f, 0.4549f); }
323 static Color DarkSeaGreen1() { return Color(0.75686f, 1.0f, 0.75686f); }
324 static Color DarkSeaGreen2() { return Color(0.70588f, 0.93333f, 0.70588f); }
325 static Color DarkSeaGreen3() { return Color(0.60784f, 0.80392f, 0.60784f); }
326 static Color DarkSeaGreen4() { return Color(0.41176f, 0.5451f, 0.41176f); }
327 static Color SeaGreen1() { return Color(0.32941f, 1.0f, 0.62353f); }
328 static Color SeaGreen2() { return Color(0.30588f, 0.93333f, 0.58039f); }
329 static Color SeaGreen3() { return Color(0.26275f, 0.80392f, 0.50196f); }
330 static Color SeaGreen4() { return Color(0.18039f, 0.5451f, 0.34118f); }
331 static Color PaleGreen1() { return Color(0.60392f, 1.0f, 0.60392f); }
332 static Color PaleGreen2() { return Color(0.56471f, 0.93333f, 0.56471f); }
333 static Color PaleGreen3() { return Color(0.48627f, 0.80392f, 0.48627f); }
334 static Color PaleGreen4() { return Color(0.32941f, 0.5451f, 0.32941f); }
335 static Color SpringGreen1() { return Color(0.0f, 1.0f, 0.49804f); }
336 static Color SpringGreen2() { return Color(0.0f, 0.93333f, 0.46275f); }
337 static Color SpringGreen3() { return Color(0.0f, 0.80392f, 0.4f); }
338 static Color SpringGreen4() { return Color(0.0f, 0.5451f, 0.27059f); }
339 static Color Green1() { return Color(0.0f, 1.0f, 0.0f); }
340 static Color Green2() { return Color(0.0f, 0.93333f, 0.0f); }
341 static Color Green3() { return Color(0.0f, 0.80392f, 0.0f); }
342 static Color Green4() { return Color(0.0f, 0.5451f, 0.0f); }
343 static Color Chartreuse1() { return Color(0.49804f, 1.0f, 0.0f); }
344 static Color Chartreuse2() { return Color(0.46275f, 0.93333f, 0.0f); }
345 static Color Chartreuse3() { return Color(0.4f, 0.80392f, 0.0f); }
346 static Color Chartreuse4() { return Color(0.27059f, 0.5451f, 0.0f); }
347 static Color OliveDrab1() { return Color(0.75294f, 1.0f, 0.24314f); }
348 static Color OliveDrab2() { return Color(0.70196f, 0.93333f, 0.22745f); }
349 static Color OliveDrab3() { return Color(0.60392f, 0.80392f, 0.19608f); }
350 static Color OliveDrab4() { return Color(0.41176f, 0.5451f, 0.13333f); }
351 static Color DarkOliveGreen1() { return Color(0.79216f, 1.0f, 0.43922f); }
352 static Color DarkOliveGreen2() { return Color(0.73725f, 0.93333f, 0.40784f); }
353 static Color DarkOliveGreen3() { return Color(0.63529f, 0.80392f, 0.35294f); }
354 static Color DarkOliveGreen4() { return Color(0.43137f, 0.5451f, 0.23922f); }
355 static Color Khaki1() { return Color(1.0f, 0.96471f, 0.56078f); }
356 static Color Khaki2() { return Color(0.93333f, 0.90196f, 0.52157f); }
357 static Color Khaki3() { return Color(0.80392f, 0.77647f, 0.45098f); }
358 static Color Khaki4() { return Color(0.5451f, 0.52549f, 0.30588f); }
359 static Color LightGoldenrod1() { return Color(1.0f, 0.92549f, 0.5451f); }
360 static Color LightGoldenrod2() { return Color(0.93333f, 0.86275f, 0.5098f); }
361 static Color LightGoldenrod3() { return Color(0.80392f, 0.7451f, 0.43922f); }
362 static Color LightGoldenrod4() { return Color(0.5451f, 0.50588f, 0.29804f); }
363 static Color LightYellow1() { return Color(1.0f, 1.0f, 0.87843f); }
364 static Color LightYellow2() { return Color(0.93333f, 0.93333f, 0.81961f); }
365 static Color LightYellow3() { return Color(0.80392f, 0.80392f, 0.70588f); }
366 static Color LightYellow4() { return Color(0.5451f, 0.5451f, 0.47843f); }
367 static Color Yellow1() { return Color(1.0f, 1.0f, 0.0f); }
368 static Color Yellow2() { return Color(0.93333f, 0.93333f, 0.0f); }
369 static Color Yellow3() { return Color(0.80392f, 0.80392f, 0.0f); }
370 static Color Yellow4() { return Color(0.5451f, 0.5451f, 0.0f); }
371 static Color Gold1() { return Color(1.0f, 0.84314f, 0.0f); }
372 static Color Gold2() { return Color(0.93333f, 0.78824f, 0.0f); }
373 static Color Gold3() { return Color(0.80392f, 0.67843f, 0.0f); }
374 static Color Gold4() { return Color(0.5451f, 0.45882f, 0.0f); }
375 static Color Goldenrod1() { return Color(1.0f, 0.75686f, 0.1451f); }
376 static Color Goldenrod2() { return Color(0.93333f, 0.70588f, 0.13333f); }
377 static Color Goldenrod3() { return Color(0.80392f, 0.60784f, 0.11373f); }
378 static Color Goldenrod4() { return Color(0.5451f, 0.41176f, 0.07843f); }
379 static Color DarkGoldenrod1() { return Color(1.0f, 0.72549f, 0.05882f); }
380 static Color DarkGoldenrod2() { return Color(0.93333f, 0.67843f, 0.0549f); }
381 static Color DarkGoldenrod3() { return Color(0.80392f, 0.58431f, 0.04706f); }
382 static Color DarkGoldenrod4() { return Color(0.5451f, 0.39608f, 0.03137f); }
383 static Color RosyBrown1() { return Color(1.0f, 0.75686f, 0.75686f); }
384 static Color RosyBrown2() { return Color(0.93333f, 0.70588f, 0.70588f); }
385 static Color RosyBrown3() { return Color(0.80392f, 0.60784f, 0.60784f); }
386 static Color RosyBrown4() { return Color(0.5451f, 0.41176f, 0.41176f); }
387 static Color IndianRed1() { return Color(1.0f, 0.41569f, 0.41569f); }
388 static Color IndianRed2() { return Color(0.93333f, 0.38824f, 0.38824f); }
389 static Color IndianRed3() { return Color(0.80392f, 0.33333f, 0.33333f); }
390 static Color IndianRed4() { return Color(0.5451f, 0.22745f, 0.22745f); }
391 static Color Sienna1() { return Color(1.0f, 0.5098f, 0.27843f); }
392 static Color Sienna2() { return Color(0.93333f, 0.47451f, 0.25882f); }
393 static Color Sienna3() { return Color(0.80392f, 0.40784f, 0.22353f); }
394 static Color Sienna4() { return Color(0.5451f, 0.27843f, 0.14902f); }
395 static Color Burlywood1() { return Color(1.0f, 0.82745f, 0.60784f); }
396 static Color Burlywood2() { return Color(0.93333f, 0.77255f, 0.56863f); }
397 static Color Burlywood3() { return Color(0.80392f, 0.66667f, 0.4902f); }
398 static Color Burlywood4() { return Color(0.5451f, 0.45098f, 0.33333f); }
399 static Color Wheat1() { return Color(1.0f, 0.90588f, 0.72941f); }
400 static Color Wheat2() { return Color(0.93333f, 0.84706f, 0.68235f); }
401 static Color Wheat3() { return Color(0.80392f, 0.72941f, 0.58824f); }
402 static Color Wheat4() { return Color(0.5451f, 0.49412f, 0.4f); }
403 static Color Tan1() { return Color(1.0f, 0.64706f, 0.3098f); }
404 static Color Tan2() { return Color(0.93333f, 0.60392f, 0.28627f); }
405 static Color Tan3() { return Color(0.80392f, 0.52157f, 0.24706f); }
406 static Color Tan4() { return Color(0.5451f, 0.35294f, 0.16863f); }
407 static Color Chocolate1() { return Color(1.0f, 0.49804f, 0.14118f); }
408 static Color Chocolate2() { return Color(0.93333f, 0.46275f, 0.12941f); }
409 static Color Chocolate3() { return Color(0.80392f, 0.4f, 0.11373f); }
410 static Color Chocolate4() { return Color(0.5451f, 0.27059f, 0.07451f); }
411 static Color Firebrick1() { return Color(1.0f, 0.18824f, 0.18824f); }
412 static Color Firebrick2() { return Color(0.93333f, 0.17255f, 0.17255f); }
413 static Color Firebrick3() { return Color(0.80392f, 0.14902f, 0.14902f); }
414 static Color Firebrick4() { return Color(0.5451f, 0.10196f, 0.10196f); }
415 static Color Brown1() { return Color(1.0f, 0.25098f, 0.25098f); }
416 static Color Brown2() { return Color(0.93333f, 0.23137f, 0.23137f); }
417 static Color Brown3() { return Color(0.80392f, 0.2f, 0.2f); }
418 static Color Brown4() { return Color(0.5451f, 0.13725f, 0.13725f); }
419 static Color Salmon1() { return Color(1.0f, 0.54902f, 0.41176f); }
420 static Color Salmon2() { return Color(0.93333f, 0.5098f, 0.38431f); }
421 static Color Salmon3() { return Color(0.80392f, 0.43922f, 0.32941f); }
422 static Color Salmon4() { return Color(0.5451f, 0.29804f, 0.22353f); }
423 static Color LightSalmon1() { return Color(1.0f, 0.62745f, 0.47843f); }
424 static Color LightSalmon2() { return Color(0.93333f, 0.58431f, 0.44706f); }
425 static Color LightSalmon3() { return Color(0.80392f, 0.50588f, 0.38431f); }
426 static Color LightSalmon4() { return Color(0.5451f, 0.34118f, 0.25882f); }
427 static Color Orange1() { return Color(1.0f, 0.64706f, 0.0f); }
428 static Color Orange2() { return Color(0.93333f, 0.60392f, 0.0f); }
429 static Color Orange3() { return Color(0.80392f, 0.52157f, 0.0f); }
430 static Color Orange4() { return Color(0.5451f, 0.35294f, 0.0f); }
431 static Color DarkOrange1() { return Color(1.0f, 0.49804f, 0.0f); }
432 static Color DarkOrange2() { return Color(0.93333f, 0.46275f, 0.0f); }
433 static Color DarkOrange3() { return Color(0.80392f, 0.4f, 0.0f); }
434 static Color DarkOrange4() { return Color(0.5451f, 0.27059f, 0.0f); }
435 static Color Coral1() { return Color(1.0f, 0.44706f, 0.33725f); }
436 static Color Coral2() { return Color(0.93333f, 0.41569f, 0.31373f); }
437 static Color Coral3() { return Color(0.80392f, 0.35686f, 0.27059f); }
438 static Color Coral4() { return Color(0.5451f, 0.24314f, 0.18431f); }
439 static Color Tomato1() { return Color(1.0f, 0.38824f, 0.27843f); }
440 static Color Tomato2() { return Color(0.93333f, 0.36078f, 0.25882f); }
441 static Color Tomato3() { return Color(0.80392f, 0.3098f, 0.22353f); }
442 static Color Tomato4() { return Color(0.5451f, 0.21176f, 0.14902f); }
443 static Color OrangeRed1() { return Color(1.0f, 0.27059f, 0.0f); }
444 static Color OrangeRed2() { return Color(0.93333f, 0.25098f, 0.0f); }
445 static Color OrangeRed3() { return Color(0.80392f, 0.21569f, 0.0f); }
446 static Color OrangeRed4() { return Color(0.5451f, 0.1451f, 0.0f); }
447 static Color Red1() { return Color(1.0f, 0.0f, 0.0f); }
448 static Color Red2() { return Color(0.93333f, 0.0f, 0.0f); }
449 static Color Red3() { return Color(0.80392f, 0.0f, 0.0f); }
450 static Color Red4() { return Color(0.5451f, 0.0f, 0.0f); }
451 static Color DeepPink1() { return Color(1.0f, 0.07843f, 0.57647f); }
452 static Color DeepPink2() { return Color(0.93333f, 0.07059f, 0.53725f); }
453 static Color DeepPink3() { return Color(0.80392f, 0.06275f, 0.46275f); }
454 static Color DeepPink4() { return Color(0.5451f, 0.03922f, 0.31373f); }
455 static Color HotPink1() { return Color(1.0f, 0.43137f, 0.70588f); }
456 static Color HotPink2() { return Color(0.93333f, 0.41569f, 0.6549f); }
457 static Color HotPink3() { return Color(0.80392f, 0.37647f, 0.56471f); }
458 static Color HotPink4() { return Color(0.5451f, 0.22745f, 0.38431f); }
459 static Color Pink1() { return Color(1.0f, 0.7098f, 0.77255f); }
460 static Color Pink2() { return Color(0.93333f, 0.66275f, 0.72157f); }
461 static Color Pink3() { return Color(0.80392f, 0.56863f, 0.61961f); }
462 static Color Pink4() { return Color(0.5451f, 0.38824f, 0.42353f); }
463 static Color LightPink1() { return Color(1.0f, 0.68235f, 0.72549f); }
464 static Color LightPink2() { return Color(0.93333f, 0.63529f, 0.67843f); }
465 static Color LightPink3() { return Color(0.80392f, 0.54902f, 0.58431f); }
466 static Color LightPink4() { return Color(0.5451f, 0.37255f, 0.39608f); }
467 static Color PaleVioletRed1() { return Color(1.0f, 0.5098f, 0.67059f); }
468 static Color PaleVioletRed2() { return Color(0.93333f, 0.47451f, 0.62353f); }
469 static Color PaleVioletRed3() { return Color(0.80392f, 0.40784f, 0.53725f); }
470 static Color PaleVioletRed4() { return Color(0.5451f, 0.27843f, 0.36471f); }
471 static Color Maroon1() { return Color(1.0f, 0.20392f, 0.70196f); }
472 static Color Maroon2() { return Color(0.93333f, 0.18824f, 0.6549f); }
473 static Color Maroon3() { return Color(0.80392f, 0.16078f, 0.56471f); }
474 static Color Maroon4() { return Color(0.5451f, 0.1098f, 0.38431f); }
475 static Color VioletRed1() { return Color(1.0f, 0.24314f, 0.58824f); }
476 static Color VioletRed2() { return Color(0.93333f, 0.22745f, 0.54902f); }
477 static Color VioletRed3() { return Color(0.80392f, 0.19608f, 0.47059f); }
478 static Color VioletRed4() { return Color(0.5451f, 0.13333f, 0.32157f); }
479 static Color Magenta1() { return Color(1.0f, 0.0f, 1.0f); }
480 static Color Magenta2() { return Color(0.93333f, 0.0f, 0.93333f); }
481 static Color Magenta3() { return Color(0.80392f, 0.0f, 0.80392f); }
482 static Color Magenta4() { return Color(0.5451f, 0.0f, 0.5451f); }
483 static Color Orchid1() { return Color(1.0f, 0.51373f, 0.98039f); }
484 static Color Orchid2() { return Color(0.93333f, 0.47843f, 0.91373f); }
485 static Color Orchid3() { return Color(0.80392f, 0.41176f, 0.78824f); }
486 static Color Orchid4() { return Color(0.5451f, 0.27843f, 0.53725f); }
487 static Color Plum1() { return Color(1.0f, 0.73333f, 1.0f); }
488 static Color Plum2() { return Color(0.93333f, 0.68235f, 0.93333f); }
489 static Color Plum3() { return Color(0.80392f, 0.58824f, 0.80392f); }
490 static Color Plum4() { return Color(0.5451f, 0.4f, 0.5451f); }
491 static Color MediumOrchid1() { return Color(0.87843f, 0.4f, 1.0f); }
492 static Color MediumOrchid2() { return Color(0.81961f, 0.37255f, 0.93333f); }
493 static Color MediumOrchid3() { return Color(0.70588f, 0.32157f, 0.80392f); }
494 static Color MediumOrchid4() { return Color(0.47843f, 0.21569f, 0.5451f); }
495 static Color DarkOrchid1() { return Color(0.74902f, 0.24314f, 1.0f); }
496 static Color DarkOrchid2() { return Color(0.69804f, 0.22745f, 0.93333f); }
497 static Color DarkOrchid3() { return Color(0.60392f, 0.19608f, 0.80392f); }
498 static Color DarkOrchid4() { return Color(0.40784f, 0.13333f, 0.5451f); }
499 static Color Purple1() { return Color(0.60784f, 0.18824f, 1.0f); }
500 static Color Purple2() { return Color(0.56863f, 0.17255f, 0.93333f); }
501 static Color Purple3() { return Color(0.4902f, 0.14902f, 0.80392f); }
502 static Color Purple4() { return Color(0.33333f, 0.10196f, 0.5451f); }
503 static Color MediumPurple1() { return Color(0.67059f, 0.5098f, 1.0f); }
504 static Color MediumPurple2() { return Color(0.62353f, 0.47451f, 0.93333f); }
505 static Color MediumPurple3() { return Color(0.53725f, 0.40784f, 0.80392f); }
506 static Color MediumPurple4() { return Color(0.36471f, 0.27843f, 0.5451f); }
507 static Color Thistle1() { return Color(1.0f, 0.88235f, 1.0f); }
508 static Color Thistle2() { return Color(0.93333f, 0.82353f, 0.93333f); }
509 static Color Thistle3() { return Color(0.80392f, 0.7098f, 0.80392f); }
510 static Color Thistle4() { return Color(0.5451f, 0.48235f, 0.5451f); }
511 static Color Grey11() { return Color(0.1098f, 0.1098f, 0.1098f); }
512 static Color Grey21() { return Color(0.21176f, 0.21176f, 0.21176f); }
513 static Color Grey31() { return Color(0.3098f, 0.3098f, 0.3098f); }
514 static Color Grey41() { return Color(0.41176f, 0.41176f, 0.41176f); }
515 static Color Grey51() { return Color(0.5098f, 0.5098f, 0.5098f); }
516 static Color Grey61() { return Color(0.61176f, 0.61176f, 0.61176f); }
517 static Color Grey71() { return Color(0.7098f, 0.7098f, 0.7098f); }
518 static Color Grey81() { return Color(0.81176f, 0.81176f, 0.81176f); }
519 static Color Grey91() { return Color(0.9098f, 0.9098f, 0.9098f); }
520 static Color DarkGrey() { return Color(0.66275f, 0.66275f, 0.66275f); }
521 static Color DarkBlue() { return Color(0.0f, 0.0f, 0.5451f); }
522 static Color DarkCyan() { return Color(0.0f, 0.5451f, 0.5451f); }
523 static Color DarkMagenta() { return Color(0.5451f, 0.0f, 0.5451f); }
524 static Color DarkRed() { return Color(0.5451f, 0.0f, 0.0f); }
525 static Color LightGreen() { return Color(0.56471f, 0.93333f, 0.56471f); }
526
527
528 float r;
529 float g;
530 float b;
531
532 };
533}
534
535#include "Color.inl"
static Color Cornsilk4()
Definition Color.h:230
static Color OrangeRed4()
Definition Color.h:446
static Color Thistle1()
Definition Color.h:507
static Color SteelBlue1()
Definition Color.h:267
static Color Maroon2()
Definition Color.h:472
static Color Coral4()
Definition Color.h:438
static Color DarkOliveGreen3()
Definition Color.h:353
static Color MediumAquamarine()
Definition Color.h:129
static Color Goldenrod1()
Definition Color.h:375
static Color IndianRed1()
Definition Color.h:387
static Color DarkSlateGray()
Definition Color.h:98
static Color Maroon()
Definition Color.h:185
static Color Coral1()
Definition Color.h:435
static Color Yellow2()
Definition Color.h:368
static Color LightCoral()
Definition Color.h:176
static Color LightSteelBlue1()
Definition Color.h:287
static Color Black()
Definition Color.h:97
static Color LightSalmon2()
Definition Color.h:424
static Color Pink2()
Definition Color.h:460
static Color OrangeRed()
Definition Color.h:178
static Color YellowGreen()
Definition Color.h:145
static Color Grey21()
Definition Color.h:512
static Color Cyan3()
Definition Color.h:313
static Color Seashell1()
Definition Color.h:203
static Color Green1()
Definition Color.h:339
static Color DarkOrange1()
Definition Color.h:431
static Color DarkSlateGray3()
Definition Color.h:317
static Color Chartreuse()
Definition Color.h:141
static Color SlateBlue3()
Definition Color.h:253
static Color Tan2()
Definition Color.h:404
static Color Gainsboro()
Definition Color.h:74
static Color Magenta()
Definition Color.h:188
static Color MistyRose1()
Definition Color.h:243
static Color Orange2()
Definition Color.h:428
static Color Orange3()
Definition Color.h:429
static Color Yellow()
Definition Color.h:152
static Color Maroon1()
Definition Color.h:471
static Color Blue()
Definition Color.h:113
static Color Ivory1()
Definition Color.h:231
static Color DarkRed()
Definition Color.h:524
static Color MediumSlateBlue()
Definition Color.h:109
static Color LightPink1()
Definition Color.h:463
static Color GhostWhite()
Definition Color.h:72
static Color SteelBlue3()
Definition Color.h:269
static Color PaleVioletRed2()
Definition Color.h:468
static Color Cyan2()
Definition Color.h:312
static Color DarkOrange()
Definition Color.h:174
static Color RosyBrown2()
Definition Color.h:384
static Color Ivory2()
Definition Color.h:232
static Color Violet()
Definition Color.h:189
static Color IndianRed4()
Definition Color.h:390
static Color MediumTurquoise()
Definition Color.h:124
static Color PaleGreen()
Definition Color.h:137
static Color Cyan1()
Definition Color.h:311
static Color PaleTurquoise()
Definition Color.h:122
static Color LightSalmon4()
Definition Color.h:426
static Color LightSalmon3()
Definition Color.h:425
static Color LightPink4()
Definition Color.h:466
static Color MediumPurple1()
Definition Color.h:503
static Color DarkViolet()
Definition Color.h:194
static Color Green3()
Definition Color.h:341
static Color LavenderBlush()
Definition Color.h:94
static Color LightBlue()
Definition Color.h:120
static Color Thistle4()
Definition Color.h:510
static Color Goldenrod2()
Definition Color.h:376
static Color SpringGreen1()
Definition Color.h:335
static Color CadetBlue4()
Definition Color.h:306
static Color LavenderBlush2()
Definition Color.h:240
static Color LavenderBlush1()
Definition Color.h:239
static Color Purple()
Definition Color.h:196
static Color LtGoldenrodYello()
Definition Color.h:150
static Color DodgerBlue4()
Definition Color.h:266
static Color LightCyan2()
Definition Color.h:296
static Color PaleGreen1()
Definition Color.h:331
static Color Chartreuse1()
Definition Color.h:343
static Color Pink()
Definition Color.h:182
static Color VioletRed4()
Definition Color.h:478
static Color Bisque1()
Definition Color.h:211
static Color Yellow4()
Definition Color.h:370
static Color SaddleBrown()
Definition Color.h:159
static Color DarkGreen()
Definition Color.h:131
static Color DarkSalmon()
Definition Color.h:170
static Color Chocolate4()
Definition Color.h:410
static Color Seashell3()
Definition Color.h:205
static Color VioletRed1()
Definition Color.h:475
static Color Grey31()
Definition Color.h:513
static Color NavyBlue()
Definition Color.h:105
static Color Sienna4()
Definition Color.h:394
static Color SlateGray2()
Definition Color.h:284
static Color LightBlue4()
Definition Color.h:294
static Color SteelBlue4()
Definition Color.h:270
static Color PaleGreen3()
Definition Color.h:333
static Color Grey71()
Definition Color.h:517
static Color Turquoise4()
Definition Color.h:310
static Color SkyBlue4()
Definition Color.h:278
static Color DarkSeaGreen2()
Definition Color.h:324
static Color PeachPuff2()
Definition Color.h:216
static Color PeachPuff1()
Definition Color.h:215
static Color Salmon1()
Definition Color.h:419
static Color Snow2()
Definition Color.h:200
static Color PaleVioletRed4()
Definition Color.h:470
static Color LightPink()
Definition Color.h:183
static Color DeepPink1()
Definition Color.h:451
static Color Pink3()
Definition Color.h:461
static Color LightGoldenrod2()
Definition Color.h:360
DYN_FUNC Color()
Definition Color.h:9
static Color PaleTurquoise4()
Definition Color.h:302
static Color Magenta1()
Definition Color.h:479
static Color goldenrod()
Definition Color.h:155
static Color Salmon3()
Definition Color.h:421
static Color Beige()
Definition Color.h:163
static Color LightCyan3()
Definition Color.h:297
static Color VioletRed()
Definition Color.h:187
static Color Orange1()
Definition Color.h:427
static Color MistyRose2()
Definition Color.h:244
static Color Firebrick2()
Definition Color.h:412
static Color Ivory3()
Definition Color.h:233
static Color SteelBlue2()
Definition Color.h:268
static Color Turquoise()
Definition Color.h:125
static Color Coral2()
Definition Color.h:436
static Color DeepSkyBlue4()
Definition Color.h:274
static Color SpringGreen()
Definition Color.h:138
static Color Sienna()
Definition Color.h:160
static Color PaleTurquoise1()
Definition Color.h:299
static Color Cyan()
Definition Color.h:126
static Color PaleVioletRed3()
Definition Color.h:469
static Color Green2()
Definition Color.h:340
static Color PeachPuff3()
Definition Color.h:217
static Color LightSeaGreen()
Definition Color.h:136
static Color Thistle3()
Definition Color.h:509
static Color SeaGreen3()
Definition Color.h:329
static Color FloralWhite()
Definition Color.h:75
static Color Wheat()
Definition Color.h:164
static Color MediumPurple()
Definition Color.h:197
static Color SkyBlue1()
Definition Color.h:275
float r
Definition Color.h:528
static Color CadetBlue1()
Definition Color.h:303
static Color Seashell4()
Definition Color.h:206
static Color AliceBlue()
Definition Color.h:92
static Color DarkGoldenrod()
Definition Color.h:156
static Color DarkSeaGreen1()
Definition Color.h:323
static Color Orchid2()
Definition Color.h:484
static Color SeaGreen1()
Definition Color.h:327
static Color NavajoWhite4()
Definition Color.h:222
static Color LightSalmon1()
Definition Color.h:423
static Color Orchid()
Definition Color.h:191
static Color LemonChiffon3()
Definition Color.h:225
static Color OrangeRed3()
Definition Color.h:445
static Color Red2()
Definition Color.h:448
static Color MistyRose()
Definition Color.h:95
static Color Blue4()
Definition Color.h:262
static Color BlueViolet()
Definition Color.h:195
static Color DarkOliveGreen2()
Definition Color.h:352
static Color Cornsilk3()
Definition Color.h:229
static Color Plum2()
Definition Color.h:488
static Color MediumOrchid1()
Definition Color.h:491
static Color Turquoise1()
Definition Color.h:307
static Color Orchid1()
Definition Color.h:483
static Color AntiqueWhite4()
Definition Color.h:210
static Color Gold1()
Definition Color.h:371
static Color IndianRed2()
Definition Color.h:388
static Color LightBlue2()
Definition Color.h:292
static Color OrangeRed1()
Definition Color.h:443
static Color DarkOrchid1()
Definition Color.h:495
static Color DeepSkyBlue3()
Definition Color.h:273
static Color LightPink2()
Definition Color.h:464
static Color LightYellow2()
Definition Color.h:364
static Color LightYellow4()
Definition Color.h:366
static Color SandyBrown()
Definition Color.h:165
static Color LightGoldenrod1()
Definition Color.h:359
static Color OrangeRed2()
Definition Color.h:444
static Color SlateGray1()
Definition Color.h:283
static Color Tan3()
Definition Color.h:405
static Color DarkOliveGreen1()
Definition Color.h:351
static Color DarkSeaGreen4()
Definition Color.h:326
static Color SkyBlue3()
Definition Color.h:277
static Color Tomato3()
Definition Color.h:441
static Color LavenderBlush3()
Definition Color.h:241
static Color RoyalBlue3()
Definition Color.h:257
static Color Salmon2()
Definition Color.h:420
static Color LightCyan1()
Definition Color.h:295
static Color Plum()
Definition Color.h:190
DYN_FUNC void HSVtoRGB(float h, float s, float v)
Definition Color.h:19
static Color SpringGreen2()
Definition Color.h:336
static Color Coral3()
Definition Color.h:437
static Color Chocolate3()
Definition Color.h:409
static Color Sienna2()
Definition Color.h:392
static Color Grey41()
Definition Color.h:514
static Color LightSteelBlue3()
Definition Color.h:289
static Color Cornsilk1()
Definition Color.h:227
static Color Chocolate1()
Definition Color.h:407
static Color LightYellow()
Definition Color.h:151
static Color Honeydew2()
Definition Color.h:236
static Color OliveDrab4()
Definition Color.h:350
static Color Seashell2()
Definition Color.h:204
static Color PapayaWhip()
Definition Color.h:79
static Color DarkGoldenrod1()
Definition Color.h:379
static Color Burlywood4()
Definition Color.h:398
static Color Snow()
Definition Color.h:71
static Color MedSpringGreen()
Definition Color.h:142
static Color Tomato4()
Definition Color.h:442
static Color Red1()
Definition Color.h:447
static Color OliveDrab2()
Definition Color.h:348
static Color DarkSlateGray2()
Definition Color.h:316
static Color Grey91()
Definition Color.h:519
static Color MistyRose4()
Definition Color.h:246
static Color Turquoise3()
Definition Color.h:309
static Color DodgerBlue2()
Definition Color.h:264
static Color MediumVioletRed()
Definition Color.h:186
static Color Cornsilk()
Definition Color.h:85
static Color Bisque3()
Definition Color.h:213
static Color Snow1()
Definition Color.h:199
static Color Grey11()
Definition Color.h:511
static Color DarkSlateGray1()
Definition Color.h:315
static Color Orange4()
Definition Color.h:430
static Color LightSlateBlue()
Definition Color.h:110
static Color DeepPink4()
Definition Color.h:454
static Color OldLace()
Definition Color.h:76
static Color Snow4()
Definition Color.h:202
static Color MediumOrchid4()
Definition Color.h:494
static Color RosyBrown3()
Definition Color.h:385
static Color LightSlateGray()
Definition Color.h:101
static Color LemonChiffon()
Definition Color.h:87
static Color Gold()
Definition Color.h:153
static Color SpringGreen3()
Definition Color.h:337
static Color Purple4()
Definition Color.h:502
static Color LightGoldenrod()
Definition Color.h:154
static Color DarkOrchid2()
Definition Color.h:496
static Color Honeydew4()
Definition Color.h:238
static Color Tan4()
Definition Color.h:406
static Color DarkOrchid3()
Definition Color.h:497
static Color lavender()
Definition Color.h:93
static Color OliveDrab1()
Definition Color.h:347
static Color Gold3()
Definition Color.h:373
static Color Gold2()
Definition Color.h:372
static Color Magenta2()
Definition Color.h:480
static Color Grey81()
Definition Color.h:518
static Color Orchid4()
Definition Color.h:486
static Color Bisque()
Definition Color.h:81
static Color LightSkyBlue2()
Definition Color.h:280
static Color DarkOliveGreen()
Definition Color.h:132
static Color Plum4()
Definition Color.h:490
static Color Goldenrod3()
Definition Color.h:377
static Color Brown3()
Definition Color.h:417
static Color Khaki3()
Definition Color.h:357
static Color DeepSkyBlue2()
Definition Color.h:272
static Color LightSkyBlue()
Definition Color.h:117
static Color MidnightBlue()
Definition Color.h:104
static Color Firebrick4()
Definition Color.h:414
static Color Burlywood3()
Definition Color.h:397
static Color LightGoldenrod3()
Definition Color.h:361
static Color SlateBlue2()
Definition Color.h:252
static Color Azure2()
Definition Color.h:248
static Color DarkSlateGray4()
Definition Color.h:318
static Color Khaki4()
Definition Color.h:358
static Color Honeydew3()
Definition Color.h:237
static Color Goldenrod4()
Definition Color.h:378
static Color Wheat3()
Definition Color.h:401
static Color Thistle()
Definition Color.h:198
static Color Honeydew1()
Definition Color.h:235
static Color SkyBlue2()
Definition Color.h:276
static Color MediumPurple4()
Definition Color.h:506
static Color Firebrick1()
Definition Color.h:411
float b
Definition Color.h:530
static Color PaleTurquoise3()
Definition Color.h:301
static Color LightSteelBlue()
Definition Color.h:119
static Color Pink1()
Definition Color.h:459
static Color Wheat2()
Definition Color.h:400
static Color Aquamarine4()
Definition Color.h:322
static Color Tomato2()
Definition Color.h:440
static Color Burlywood()
Definition Color.h:162
static Color Gold4()
Definition Color.h:374
static Color Purple3()
Definition Color.h:501
static Color DarkGrey()
Definition Color.h:520
static Color MediumSeaGreen()
Definition Color.h:135
static Color PeachPuff4()
Definition Color.h:218
static Color Green()
Definition Color.h:140
static Color Snow3()
Definition Color.h:201
static Color Tomato1()
Definition Color.h:439
static Color MediumOrchid()
Definition Color.h:192
static Color DodgerBlue1()
Definition Color.h:263
static Color DeepPink3()
Definition Color.h:453
static Color DeepSkyBlue1()
Definition Color.h:271
static Color Salmon()
Definition Color.h:171
static Color CornflowerBlue()
Definition Color.h:106
static Color SlateBlue()
Definition Color.h:108
static Color Plum1()
Definition Color.h:487
static Color NavajoWhite()
Definition Color.h:83
static Color Tomato()
Definition Color.h:177
static Color Seashell()
Definition Color.h:88
static Color SlateGrey()
Definition Color.h:100
static Color SeaGreen4()
Definition Color.h:330
static Color Brown()
Definition Color.h:169
static Color NavajoWhite3()
Definition Color.h:221
static Color BlanchedAlmond()
Definition Color.h:80
static Color Burlywood2()
Definition Color.h:396
static Color Coral()
Definition Color.h:175
static Color HotPink1()
Definition Color.h:455
static Color Salmon4()
Definition Color.h:422
static Color DeepPink()
Definition Color.h:181
static Color MediumPurple3()
Definition Color.h:505
static Color DarkCyan()
Definition Color.h:522
static Color Orange()
Definition Color.h:173
static Color Orchid3()
Definition Color.h:485
static Color LightCyan4()
Definition Color.h:298
static Color SpringGreen4()
Definition Color.h:338
static Color MediumBlue()
Definition Color.h:111
static Color Purple2()
Definition Color.h:500
static Color DarkOrchid4()
Definition Color.h:498
static Color Wheat4()
Definition Color.h:402
static Color DarkTurquoise()
Definition Color.h:123
static Color PaleGreen4()
Definition Color.h:334
static Color Ivory4()
Definition Color.h:234
static Color NavajoWhite2()
Definition Color.h:220
DYN_FUNC ~Color()
Definition Color.h:17
static Color Tan()
Definition Color.h:166
static Color DarkSlateBlue()
Definition Color.h:107
static Color Honeydew()
Definition Color.h:89
static Color LightSteelBlue4()
Definition Color.h:290
static Color LightGray()
Definition Color.h:103
static Color DarkGoldenrod2()
Definition Color.h:380
static Color Bisque4()
Definition Color.h:214
static Color OliveDrab()
Definition Color.h:147
static Color Ivory()
Definition Color.h:86
static Color LightPink3()
Definition Color.h:465
static Color DeepPink2()
Definition Color.h:452
static Color CadetBlue2()
Definition Color.h:304
static Color MistyRose3()
Definition Color.h:245
static Color MediumOrchid2()
Definition Color.h:492
static Color CadetBlue()
Definition Color.h:128
static Color RosyBrown()
Definition Color.h:157
static Color LightSkyBlue4()
Definition Color.h:282
static Color Yellow3()
Definition Color.h:369
static Color LightGreen()
Definition Color.h:525
static Color LightSkyBlue1()
Definition Color.h:279
static Color LightGoldenrod4()
Definition Color.h:362
static Color LightYellow3()
Definition Color.h:365
static Color IndianRed()
Definition Color.h:158
static Color Bisque2()
Definition Color.h:212
static Color Purple1()
Definition Color.h:499
static Color LightCyan()
Definition Color.h:127
static Color Grey51()
Definition Color.h:515
static Color Chartreuse2()
Definition Color.h:344
static Color OliveDrab3()
Definition Color.h:349
static Color Brown1()
Definition Color.h:415
static Color DarkKhaki()
Definition Color.h:148
static Color MintCream()
Definition Color.h:90
static Color RoyalBlue1()
Definition Color.h:255
static Color Green4()
Definition Color.h:342
static Color LightSalmon()
Definition Color.h:172
static Color Khaki1()
Definition Color.h:355
static Color PaleGreen2()
Definition Color.h:332
static Color RoyalBlue4()
Definition Color.h:258
static Color HotPink2()
Definition Color.h:456
static Color DeepSkyBlue()
Definition Color.h:115
static Color Cyan4()
Definition Color.h:314
static Color NavajoWhite1()
Definition Color.h:219
static Color LemonChiffon2()
Definition Color.h:224
static Color Linen()
Definition Color.h:77
DYN_FUNC Color(float _r, float _g, float _b)
Definition Color.h:15
static Color SlateGray3()
Definition Color.h:285
static Color Sienna3()
Definition Color.h:393
static Color DarkSeaGreen()
Definition Color.h:133
static Color SkyBlue()
Definition Color.h:116
static Color GreenYellow()
Definition Color.h:143
static Color Khaki2()
Definition Color.h:356
static Color Thistle2()
Definition Color.h:508
static Color RosyBrown4()
Definition Color.h:386
static Color DodgerBlue()
Definition Color.h:114
static Color VioletRed2()
Definition Color.h:476
static Color Firebrick()
Definition Color.h:168
static Color Aquamarine1()
Definition Color.h:319
static Color SlateGray4()
Definition Color.h:286
static Color DarkGoldenrod3()
Definition Color.h:381
static Color PaleVioletRed()
Definition Color.h:184
static Color DarkOrange4()
Definition Color.h:434
static Color DarkMagenta()
Definition Color.h:523
static Color Plum3()
Definition Color.h:489
static Color CadetBlue3()
Definition Color.h:305
static Color Brown2()
Definition Color.h:416
static Color Aquamarine2()
Definition Color.h:320
static Color SeaGreen2()
Definition Color.h:328
static Color RoyalBlue2()
Definition Color.h:256
static Color Red()
Definition Color.h:179
static Color Tan1()
Definition Color.h:403
static Color LightSkyBlue3()
Definition Color.h:281
static Color SteelBlue()
Definition Color.h:118
static Color Chartreuse4()
Definition Color.h:346
static Color Magenta3()
Definition Color.h:481
static Color Red4()
Definition Color.h:450
static Color Firebrick3()
Definition Color.h:413
static Color DarkSeaGreen3()
Definition Color.h:325
static Color Pink4()
Definition Color.h:462
static Color RoyalBlue()
Definition Color.h:112
static Color Brown4()
Definition Color.h:418
static Color LemonChiffon1()
Definition Color.h:223
float g
Definition Color.h:529
static Color Turquoise2()
Definition Color.h:308
static Color DodgerBlue3()
Definition Color.h:265
static Color Moccasin()
Definition Color.h:84
static Color PaleGoldenrod()
Definition Color.h:149
static Color SeaGreen()
Definition Color.h:134
static Color IndianRed3()
Definition Color.h:389
static Color Aquamarine3()
Definition Color.h:321
static Color HotPink4()
Definition Color.h:458
static Color Grey()
Definition Color.h:102
static Color Chocolate2()
Definition Color.h:408
static Color AntiqueWhite1()
Definition Color.h:207
static Color DarkOliveGreen4()
Definition Color.h:354
static Color LawnGreen()
Definition Color.h:139
static Color Azure1()
Definition Color.h:247
static Color Sienna1()
Definition Color.h:391
static Color LavenderBlush4()
Definition Color.h:242
static Color DarkGoldenrod4()
Definition Color.h:382
static Color Magenta4()
Definition Color.h:482
static Color Aquamarine()
Definition Color.h:130
static Color DarkBlue()
Definition Color.h:521
static Color LightSteelBlue2()
Definition Color.h:288
static Color Azure4()
Definition Color.h:250
static Color Red3()
Definition Color.h:449
static Color VioletRed3()
Definition Color.h:477
static Color Maroon3()
Definition Color.h:473
static Color PaleVioletRed1()
Definition Color.h:467
static Color MediumPurple2()
Definition Color.h:504
static Color WhiteSmoke()
Definition Color.h:73
static Color PeachPuff()
Definition Color.h:82
static Color LemonChiffon4()
Definition Color.h:226
static Color LightYellow1()
Definition Color.h:363
static Color DarkOrchid()
Definition Color.h:193
static Color Yellow1()
Definition Color.h:367
static Color SlateBlue1()
Definition Color.h:251
static Color Maroon4()
Definition Color.h:474
static Color DarkOrange2()
Definition Color.h:432
static Color LightBlue3()
Definition Color.h:293
static Color Blue2()
Definition Color.h:260
static Color AntiqueWhite()
Definition Color.h:78
static Color Azure3()
Definition Color.h:249
static Color Blue3()
Definition Color.h:261
DYN_FUNC Color(float c)
Definition Color.h:11
static Color HotPink3()
Definition Color.h:457
static Color SlateBlue4()
Definition Color.h:254
static Color White()
Definition Color.h:96
static Color HotPink()
Definition Color.h:180
static Color Chartreuse3()
Definition Color.h:345
static Color LightBlue1()
Definition Color.h:291
static Color Cornsilk2()
Definition Color.h:228
static Color AntiqueWhite2()
Definition Color.h:208
static Color Blue1()
Definition Color.h:259
static Color PowderBlue()
Definition Color.h:121
static Color Wheat1()
Definition Color.h:399
static Color PaleTurquoise2()
Definition Color.h:300
static Color Burlywood1()
Definition Color.h:395
static Color ForestGreen()
Definition Color.h:146
static Color Azure()
Definition Color.h:91
static Color Grey61()
Definition Color.h:516
static Color AntiqueWhite3()
Definition Color.h:209
static Color LimeGreen()
Definition Color.h:144
static Color DarkOrange3()
Definition Color.h:433
static Color DimGrey()
Definition Color.h:99
static Color MediumOrchid3()
Definition Color.h:493
static Color Chocolate()
Definition Color.h:167
static Color RosyBrown1()
Definition Color.h:383
static Color Peru()
Definition Color.h:161
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25