17 #include <ht_platform.h> 35 : r(0.0f), g(0.0f), b(0.0f), a(1.0f)
40 Color(
float _r,
float _g,
float _b,
float _a)
41 : r(_r), g(_g), b(_b), a(_a)
47 bool operator== (
const Color& other) {
48 return (r == other.r) &&
60 static const Color IndianRed =
Color(0.804f, 0.361f, 0.361f, 1.0f);
61 static const Color LightCoral =
Color(0.941f, 0.502f, 0.502f, 1.0f);
62 static const Color Salmon =
Color(0.980f, 0.502f, 0.447f, 1.0f);
63 static const Color DarkSalmon =
Color(0.914f, 0.588f, 0.478f, 1.0f);
64 static const Color LightSalmon =
Color(1.0f, 0.627f, 0.478f, 1.0f);
65 static const Color Crimson =
Color(0.863f, 0.078f, 0.235f, 1.0f);
66 static const Color Red =
Color(1.0f, 0.0f, 0.0f, 1.0f);
67 static const Color FireBrick =
Color(0.698f, 0.133f, 0.133f, 1.0f);
68 static const Color DarkRed =
Color(0.545f, 0.0f, 0.0f, 1.0f);
69 static const Color Pink =
Color(1.0f, 0.753f, 0.796f, 1.0f);
70 static const Color LightPink =
Color(1.0f, 0.714f, 0.747f, 1.0f);
71 static const Color HotPink =
Color(1.0f, 0.410f, 0.747f, 1.0f);
72 static const Color DeepPink =
Color(1.0f, 0.078f, 0.576f, 1.0f);
73 static const Color MediumVioletRed =
Color(0.780f, 0.082f, 0.522f, 1.0f);
74 static const Color PaleVioletRed =
Color(0.859f, 0.439f, 0.576f, 1.0f);
75 static const Color Coral =
Color(1.0f, 0.627f, 0.478f, 1.0f);
76 static const Color Tomato =
Color(1.0f, 0.388f, 0.278f, 1.0f);
77 static const Color OrangeRed =
Color(1.0f, 0.271f, 0.0f, 1.0f);
78 static const Color DarkOrange =
Color(1.0f, 0.549f, 0.0f, 1.0f);
79 static const Color Orange =
Color(1.0f, 0.647f, 0.0f, 1.0f);
80 static const Color Gold =
Color(1.0f, 0.843f, 0.0f, 1.0f);
81 static const Color Yellow =
Color(1.0f, 1.0f, 0.0f, 1.0f);
82 static const Color LightYellow =
Color(1.0f, 1.0f, 0.878f, 1.0f);
83 static const Color LemonChion =
Color(0.980f, 0.980f, 0.804f, 1.0f);
84 static const Color LightGoldenRodYellow =
Color(0.980f, 0.980f, 0.824f, 1.0f);
85 static const Color PapayaWhip =
Color(1.0f, 0.937f, 0.835f, 1.0f);
86 static const Color Moccasin =
Color(1.0f, 0.894f, 0.710f, 1.0f);
87 static const Color PeachPu =
Color(1.0f, 0.855f, 0.725f, 1.0f);
88 static const Color PaleGoldenRod =
Color(0.933f, 0.910f, 0.667f, 1.0f);
89 static const Color Khaki =
Color(0.941f, 0.902f, 0.549f, 1.0f);
90 static const Color DarkKhaki =
Color(0.741f, 0.718f, 0.420f, 1.0f);
91 static const Color Lavender =
Color(0.902f, 0.902f, 0.980f, 1.0f);
92 static const Color Thistle =
Color(0.847f, 0.749f, 0.847f, 1.0f);
93 static const Color Plum =
Color(0.867f, 0.627f, 0.867f, 1.0f);
94 static const Color Violet =
Color(0.933f, 0.510f, 0.933f, 1.0f);
95 static const Color Orchid =
Color(0.655f, 0.439f, 0.839f, 1.0f);
96 static const Color Magenta =
Color(1.0f, 0.0f, 1.0f, 1.0f);
97 static const Color MediumOrchid =
Color(0.729f, 0.333f, 0.827f, 1.0f);
98 static const Color MediumPurple =
Color(0.576f, 0.439f, 0.859f, 1.0f);
99 static const Color BlueViolet =
Color(0.541f, 0.169f, 0.886f, 1.0f);
100 static const Color DarkViolet =
Color(0.580f, 0.0f, 0.827f, 1.0f);
101 static const Color DarkOrchid =
Color(0.600f, 0.196f, 0.800f, 1.0f);
102 static const Color DarkMagenta =
Color(0.545f, 0.0f, 0.545f, 1.0f);
103 static const Color Purple =
Color(0.502f, 0.0f, 0.502f, 1.0f);
104 static const Color Indigo =
Color(0.294f, 0.0f, 0.510f, 1.0f);
105 static const Color SlateBlue =
Color(0.416f, 0.353f, 0.804f, 1.0f);
106 static const Color DarkSlateBlue =
Color(0.282f, 0.239f, 0.545f, 1.0f);
107 static const Color GreenYellow =
Color(0.678f, 1.0f, 0.184f, 1.0f);
108 static const Color Chartreuse =
Color(0.498f, 1.0f, 0.0f, 1.0f);
109 static const Color LawnGreen =
Color(0.486f, 0.988f, 0.0f, 1.0f);
110 static const Color Lime =
Color(0.0f, 1.0f, 0.0f, 1.0f);
111 static const Color LimeGreen =
Color(0.196f, 0.804f, 0.196f, 1.0f);
112 static const Color PaleGreen =
Color(0.596f, 0.984f, 0.596f, 1.0f);
113 static const Color LightGreen =
Color(0.565f, 0.933f, 0.565f, 1.0f);
114 static const Color MediumSpringGreen =
Color(0.0f, 0.980f, 0.604f, 1.0f);
115 static const Color SpringGreen =
Color(0.0f, 1.0f, 0.498f, 1.0f);
116 static const Color MediumSeaGreen =
Color(0.235f, 0.702f, 0.443f, 1.0f);
117 static const Color SeaGreen =
Color(0.180f, 0.545f, 0.341f, 1.0f);
118 static const Color ForestGreen =
Color(0.133f, 0.545f, 0.133f, 1.0f);
119 static const Color Green =
Color(0.0f, 0.502f, 0.0f, 1.0f);
120 static const Color DarkGreen =
Color(0.0f, 0.392f, 0.0f, 1.0f);
121 static const Color YellowGreen =
Color(0.604f, 0.804f, 0.196f, 1.0f);
122 static const Color OliveDrab =
Color(0.420f, 0.557f, 0.137f, 1.0f);
123 static const Color Olive =
Color(0.502f, 0.502f, 0.0f, 1.0f);
124 static const Color DarkOliveGreen =
Color(0.333f, 0.420f, 0.184f, 1.0f);
125 static const Color MediumAquamarine =
Color(0.400f, 0.804f, 0.667f, 1.0f);
126 static const Color DarkSeaGreen =
Color(0.561f, 0.737f, 0.561f, 1.0f);
127 static const Color LightSeaGreen =
Color(0.125f, 0.698f, 0.667f, 1.0f);
128 static const Color DarkCyan =
Color(0.0f, 0.545f, 0.545f, 1.0f);
129 static const Color Teal =
Color(0.0f, 0.502f, 0.502f, 1.0f);
130 static const Color Aqua =
Color(0.0f, 1.0f, 1.0f, 1.0f);
131 static const Color Cyan =
Color(0.0f, 1.0f, 1.0f, 1.0f);
132 static const Color LightCyan =
Color(0.878f, 1.0f, 1.0f, 1.0f);
133 static const Color PaleTurquoise =
Color(0.686f, 0.933f, 0.933f, 1.0f);
134 static const Color Aquamarine =
Color(0.498f, 1.0f, 0.831f, 1.0f);
135 static const Color Turquoise =
Color(0.251f, 0.878f, 0.816f, 1.0f);
136 static const Color MediumTurquoise =
Color(0.282f, 0.820f, 0.800f, 1.0f);
137 static const Color DarkTurquoise =
Color(0.0f, 0.808f, 0.820f, 1.0f);
138 static const Color CadetBlue =
Color(0.373f, 0.620f, 0.627f, 1.0f);
139 static const Color SteelBlue =
Color(0.275f, 0.510f, 0.706f, 1.0f);
140 static const Color LightSteelBlue =
Color(0.690f, 0.769f, 0.871f, 1.0f);
141 static const Color LightBlue =
Color(0.678f, 0.847f, 0.902f, 1.0f);
142 static const Color PowderBlue =
Color(0.690f, 0.878f, 0.902f, 1.0f);
143 static const Color SkyBlue =
Color(0.529f, 0.808f, 0.922f, 1.0f);
144 static const Color LightSkyBlue =
Color(0.529f, 0.808f, 0.980f, 1.0f);
145 static const Color DeepSkyBlue =
Color(0.0f, 0.749f, 1.0f, 1.0f);
146 static const Color DodgerBlue =
Color(0.118f, 0.565f, 1.0f, 1.0f);
147 static const Color CornflowerBlue =
Color(0.392f, 0.584f, 0.929f, 1.0f);
148 static const Color MediumSlateBlue =
Color(0.482f, 0.408f, 0.933f, 1.0f);
149 static const Color RoyalBlue =
Color(0.255f, 0.412f, 0.882f, 1.0f);
150 static const Color Blue =
Color(0.0f, 0.0f, 1.0f, 1.0f);
151 static const Color MediumBlue =
Color(0.0f, 0.0f, 0.804f, 1.0f);
152 static const Color DarkBlue =
Color(0.0f, 0.0f, 0.545f, 1.0f);
153 static const Color Navy =
Color(0.0f, 0.0f, 0.502f, 1.0f);
154 static const Color MidnightBlue =
Color(0.098f, 0.098f, 0.439f, 1.0f);
155 static const Color Cornsilk =
Color(1.0f, 0.973f, 0.863f, 1.0f);
156 static const Color BlanchedAlmond =
Color(1.0f, 0.922f, 0.804f, 1.0f);
157 static const Color Bisque =
Color(1.0f, 0.894f, 0.769f, 1.0f);
158 static const Color NavajoWhite =
Color(1.0f, 0.871f, 0.678f, 1.0f);
159 static const Color Wheat =
Color(0.961f, 0.871f, 0.702f, 1.0f);
160 static const Color BurlyWood =
Color(0.871f, 0.722f, 0.529f, 1.0f);
161 static const Color Tan =
Color(0.824f, 0.706f, 0.549f, 1.0f);
162 static const Color RosyBrown =
Color(0.737f, 0.561f, 0.561f, 1.0f);
163 static const Color SandyBrown =
Color(0.957f, 0.643f, 0.376f, 1.0f);
164 static const Color Goldenrod =
Color(0.855f, 0.647f, 0.125f, 1.0f);
165 static const Color DarkGoldenrod =
Color(0.722f, 0.525f, 0.043f, 1.0f);
166 static const Color Peru =
Color(0.804f, 0.522f, 0.247f, 1.0f);
167 static const Color Chocolate =
Color(0.824f, 0.412f, 0.118f, 1.0f);
168 static const Color SaddleBrown =
Color(0.545f, 0.271f, 0.075f, 1.0f);
169 static const Color Sienna =
Color(0.627f, 0.322f, 0.176f, 1.0f);
170 static const Color Brown =
Color(0.647f, 0.165f, 0.165f, 1.0f);
171 static const Color Maroon =
Color(0.502f, 0.0f, 0.0f, 1.0f);
172 static const Color White =
Color(1.0f, 1.0f, 1.0f, 1.0f);
173 static const Color Snow =
Color(1.0f, 0.980f, 0.980f, 1.0f);
174 static const Color Honeydew =
Color(0.941f, 1.0f, 0.941f, 1.0f);
175 static const Color MintCream =
Color(0.961f, 1.0f, 0.980f, 1.0f);
176 static const Color Azure =
Color(0.941f, 1.0f, 1.0f, 1.0f);
177 static const Color AliceBlue =
Color(0.941f, 0.973f, 1.0f, 1.0f);
178 static const Color GhostWhite =
Color(0.973f, 0.973f, 1.0f, 1.0f);
179 static const Color WhiteSmoke =
Color(0.961f, 0.961f, 0.961f, 1.0f);
180 static const Color SeaShell =
Color(1.0f, 0.961f, 0.933f, 1.0f);
181 static const Color Beige =
Color(0.961f, 0.961f, 0.863f, 1.0f);
182 static const Color OldLace =
Color(0.992f, 0.961f, 0.902f, 1.0f);
183 static const Color FloralWhite =
Color(1.0f, 0.980f, 0.941f, 1.0f);
184 static const Color Ivory =
Color(1.0f, 1.0f, 0.941f, 1.0f);
185 static const Color AntiqueWhite =
Color(0.980f, 0.922f, 0.843f, 1.0f);
186 static const Color Linen =
Color(0.980f, 0.941f, 0.902f, 1.0f);
187 static const Color LavenderBlush =
Color(1.0f, 0.941f, 0.961f, 1.0f);
188 static const Color MistyRose =
Color(1.0f, 0.894f, 0.882f, 1.0f);
189 static const Color Gainsboro =
Color(0.863f, 0.863f, 0.863f, 1.0f);
190 static const Color LightGrey =
Color(0.827f, 0.827f, 0.827f, 1.0f);
191 static const Color Silver =
Color(0.753f, 0.753f, 0.753f, 1.0f);
192 static const Color DarkGrey =
Color(0.663f, 0.663f, 0.633f, 1.0f);
193 static const Color Gray =
Color(0.502f, 0.502f, 0.502f, 1.0f);
194 static const Color DimGray =
Color(0.412f, 0.412f, 0.412f, 1.0f);
195 static const Color LightSlateGray =
Color(0.467f, 0.533f, 0.600f, 1.0f);
196 static const Color SlateGray =
Color(0.439f, 0.502f, 0.565f, 1.0f);
197 static const Color DarkSlateGray =
Color(0.184f, 0.310f, 0.310f, 1.0f);
198 static const Color Black =
Color(0.0f, 0.0f, 0.0f, 1.0f);
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_color.h:19
Color class defining a 4-component color value.
Definition: ht_color.h:26