Photon microGUI widgets library 0.6.0
Color.h
1#ifndef PHWIDGETS_COLOR_H
2#define PHWIDGETS_COLOR_H
3
4#include <photon/PhT.h>
5#include <photon/PtT.h>
6
7namespace PhWidgets
8{
10 namespace Drawing
11 {
13
24 struct Colors
25 {
30 {
31 AliceBlue = static_cast<unsigned>(0xFFF0F8FF),
32 AntiqueWhite = static_cast<unsigned>(0xFFFAEBD7),
33 Aqua = static_cast<unsigned>(0xFF00FFFF),
34 Aquamarine = static_cast<unsigned>(0xFF7FFFD4),
35 Azure = static_cast<unsigned>(0xFFF0FFFF),
36 Beige = static_cast<unsigned>(0xFFF5F5DC),
37 Bisque = static_cast<unsigned>(0xFFFFE4C4),
38 Black = static_cast<unsigned>(0xFF000000),
39 BlanchedAlmond = static_cast<unsigned>(0xFFFFEBCD),
40 Blue = static_cast<unsigned>(0xFF0000FF),
41 BlueViolet = static_cast<unsigned>(0xFF8A2BE2),
42 Brown = static_cast<unsigned>(0xFFA52A2A),
43 BurlyWood = static_cast<unsigned>(0xFFDEB887),
44 CadetBlue = static_cast<unsigned>(0xFF5F9EA0),
45 Chartreuse = static_cast<unsigned>(0xFF7FFF00),
46 Chocolate = static_cast<unsigned>(0xFFD2691E),
47 Coral = static_cast<unsigned>(0xFFFF7F50),
48 CornflowerBlue = static_cast<unsigned>(0xFF6495ED),
49 Cornsilk = static_cast<unsigned>(0xFFFFF8DC),
50 Crimson = static_cast<unsigned>(0xFFDC143C),
51 Cyan = static_cast<unsigned>(0xFF00FFFF),
52 DarkBlue = static_cast<unsigned>(0xFF00008B),
53 DarkCyan = static_cast<unsigned>(0xFF008B8B),
54 DarkGoldenrod = static_cast<unsigned>(0xFFB8860B),
55 DarkGray = static_cast<unsigned>(0xFFA9A9A9),
56 DarkGreen = static_cast<unsigned>(0xFF006400),
57 DarkKhaki = static_cast<unsigned>(0xFFBDB76B),
58 DarkMagenta = static_cast<unsigned>(0xFF8B008B),
59 DarkOliveGreen = static_cast<unsigned>(0xFF556B2F),
60 DarkOrange = static_cast<unsigned>(0xFFFF8C00),
61 DarkOrchid = static_cast<unsigned>(0xFF9932CC),
62 DarkRed = static_cast<unsigned>(0xFF8B0000),
63 DarkSalmon = static_cast<unsigned>(0xFFE9967A),
64 DarkSeaGreen = static_cast<unsigned>(0xFF8FBC8F),
65 DarkSlateBlue = static_cast<unsigned>(0xFF483D8B),
66 DarkSlateGray = static_cast<unsigned>(0xFF2F4F4F),
67 DarkTurquoise = static_cast<unsigned>(0xFF00CED1),
68 DarkViolet = static_cast<unsigned>(0xFF9400D3),
69 DeepPink = static_cast<unsigned>(0xFFFF1493),
70 DeepSkyBlue = static_cast<unsigned>(0xFF00BFFF),
71 DimGray = static_cast<unsigned>(0xFF696969),
72 DodgerBlue = static_cast<unsigned>(0xFF1E90FF),
73 Firebrick = static_cast<unsigned>(0xFFB22222),
74 FloralWhite = static_cast<unsigned>(0xFFFFFAF0),
75 ForestGreen = static_cast<unsigned>(0xFF228B22),
76 Fuchsia = static_cast<unsigned>(0xFFFF00FF),
77 Gainsboro = static_cast<unsigned>(0xFFDCDCDC),
78 GhostWhite = static_cast<unsigned>(0xFFF8F8FF),
79 Gold = static_cast<unsigned>(0xFFFFD700),
80 Goldenrod = static_cast<unsigned>(0xFFDAA520),
81 Gray = static_cast<unsigned>(0xFF808080),
82 Green = static_cast<unsigned>(0xFF008000),
83 GreenYellow = static_cast<unsigned>(0xFFADFF2F),
84 Honeydew = static_cast<unsigned>(0xFFF0FFF0),
85 HotPink = static_cast<unsigned>(0xFFFF69B4),
86 IndianRed = static_cast<unsigned>(0xFFCD5C5C),
87 Indigo = static_cast<unsigned>(0xFF4B0082),
88 Ivory = static_cast<unsigned>(0xFFFFFFF0),
89 Khaki = static_cast<unsigned>(0xFFF0E68C),
90 Lavender = static_cast<unsigned>(0xFFE6E6FA),
91 LavenderBlush = static_cast<unsigned>(0xFFFFF0F5),
92 LawnGreen = static_cast<unsigned>(0xFF7CFC00),
93 LemonChiffon = static_cast<unsigned>(0xFFFFFACD),
94 LightBlue = static_cast<unsigned>(0xFFADD8E6),
95 LightCoral = static_cast<unsigned>(0xFFF08080),
96 LightCyan = static_cast<unsigned>(0xFFE0FFFF),
97 LightGoldenrodYellow = static_cast<unsigned>(0xFFFAFAD2),
98 LightGray = static_cast<unsigned>(0xFFD3D3D3),
99 LightGreen = static_cast<unsigned>(0xFF90EE90),
100 LightPink = static_cast<unsigned>(0xFFFFB6C1),
101 LightSalmon = static_cast<unsigned>(0xFFFFA07A),
102 LightSeaGreen = static_cast<unsigned>(0xFF20B2AA),
103 LightSkyBlue = static_cast<unsigned>(0xFF87CEFA),
104 LightSlateGray = static_cast<unsigned>(0xFF778899),
105 LightSteelBlue = static_cast<unsigned>(0xFFB0C4DE),
106 LightYellow = static_cast<unsigned>(0xFFFFFFE0),
107 Lime = static_cast<unsigned>(0xFF00FF00),
108 LimeGreen = static_cast<unsigned>(0xFF32CD32),
109 Linen = static_cast<unsigned>(0xFFFAF0E6),
110 Magenta = static_cast<unsigned>(0xFFFF00FF),
111 Maroon = static_cast<unsigned>(0xFF800000),
112 MediumAquamarine = static_cast<unsigned>(0xFF66CDAA),
113 MediumBlue = static_cast<unsigned>(0xFF0000CD),
114 MediumOrchid = static_cast<unsigned>(0xFFBA55D3),
115 MediumPurple = static_cast<unsigned>(0xFF9370DB),
116 MediumSeaGreen = static_cast<unsigned>(0xFF3CB371),
117 MediumSlateBlue = static_cast<unsigned>(0xFF7B68EE),
118 MediumSpringGreen = static_cast<unsigned>(0xFF00FA9A),
119 MediumTurquoise = static_cast<unsigned>(0xFF48D1CC),
120 MediumVioletRed = static_cast<unsigned>(0xFFC71585),
121 MidnightBlue = static_cast<unsigned>(0xFF191970),
122 MintCream = static_cast<unsigned>(0xFFF5FFFA),
123 MistyRose = static_cast<unsigned>(0xFFFFE4E1),
124 Moccasin = static_cast<unsigned>(0xFFFFE4B5),
125 NavajoWhite = static_cast<unsigned>(0xFFFFDEAD),
126 Navy = static_cast<unsigned>(0xFF000080),
127 OldLace = static_cast<unsigned>(0xFFFDF5E6),
128 Olive = static_cast<unsigned>(0xFF808000),
129 OliveDrab = static_cast<unsigned>(0xFF6B8E23),
130 Orange = static_cast<unsigned>(0xFFFFA500),
131 OrangeRed = static_cast<unsigned>(0xFFFF4500),
132 Orchid = static_cast<unsigned>(0xFFDA70D6),
133 PaleGoldenrod = static_cast<unsigned>(0xFFEEE8AA),
134 PaleGreen = static_cast<unsigned>(0xFF98FB98),
135 PaleTurquoise = static_cast<unsigned>(0xFFAFEEEE),
136 PaleVioletRed = static_cast<unsigned>(0xFFDB7093),
137 PapayaWhip = static_cast<unsigned>(0xFFFFEFD5),
138 PeachPuff = static_cast<unsigned>(0xFFFFDAB9),
139 Peru = static_cast<unsigned>(0xFFCD853F),
140 Pink = static_cast<unsigned>(0xFFFFC0CB),
141 Plum = static_cast<unsigned>(0xFFDDA0DD),
142 PowderBlue = static_cast<unsigned>(0xFFB0E0E6),
143 Purple = static_cast<unsigned>(0xFF800080),
144 Red = static_cast<unsigned>(0xFFFF0000),
145 RosyBrown = static_cast<unsigned>(0xFFBC8F8F),
146 RoyalBlue = static_cast<unsigned>(0xFF4169E1),
147 SaddleBrown = static_cast<unsigned>(0xFF8B4513),
148 Salmon = static_cast<unsigned>(0xFFFA8072),
149 SandyBrown = static_cast<unsigned>(0xFFF4A460),
150 SeaGreen = static_cast<unsigned>(0xFF2E8B57),
151 SeaShell = static_cast<unsigned>(0xFFFFF5EE),
152 Sienna = static_cast<unsigned>(0xFFA0522D),
153 Silver = static_cast<unsigned>(0xFFC0C0C0),
154 SkyBlue = static_cast<unsigned>(0xFF87CEEB),
155 SlateBlue = static_cast<unsigned>(0xFF6A5ACD),
156 SlateGray = static_cast<unsigned>(0xFF708090),
157 Snow = static_cast<unsigned>(0xFFFFFAFA),
158 SpringGreen = static_cast<unsigned>(0xFF00FF7F),
159 SteelBlue = static_cast<unsigned>(0xFF4682B4),
160 Tan = static_cast<unsigned>(0xFFD2B48C),
161 Teal = static_cast<unsigned>(0xFF008080),
162 Thistle = static_cast<unsigned>(0xFFD8BFD8),
163 Tomato = static_cast<unsigned>(0xFFFF6347),
164 Transparent = static_cast<unsigned>(0x00FFFFFF),
165 Turquoise = static_cast<unsigned>(0xFF40E0D0),
166 Violet = static_cast<unsigned>(0xFFEE82EE),
167 Wheat = static_cast<unsigned>(0xFFF5DEB3),
168 White = static_cast<unsigned>(0xFFFFFFFF),
169 WhiteSmoke = static_cast<unsigned>(0xFFF5F5F5),
170 Yellow = static_cast<unsigned>(0xFFFFFF00),
171 YellowGreen = static_cast<unsigned>(0xFF9ACD32)
172 };
174 };
175
176 struct ColorBase
177 {
178 PgColor_t B : 8;
179 PgColor_t G : 8;
180 PgColor_t R : 8;
181 PgColor_t A : 8;
182 };
183
185
203 class Color:
204 public Colors,
205 public ColorBase
206 {
207 public:
209
220
224
226
248#ifdef __DOXYGEN__ // ugly hack for Doxygen docs
249 PgColor_t A : 8;
250#endif
251 using ColorBase::A;
252
254
274#ifdef __DOXYGEN__ // ugly hack for Doxygen docs
275 PgColor_t R : 8;
276#endif
277 using ColorBase::R;
278
280
300#ifdef __DOXYGEN__ // ugly hack for Doxygen docs
301 PgColor_t G : 8;
302#endif
303 using ColorBase::G;
304
306
326#ifdef __DOXYGEN__ // ugly hack for Doxygen docs
327 PgColor_t B : 8;
328#endif
329 using ColorBase::B;
331
333
348 static Color FromARGB(unsigned char alpha, unsigned char red, unsigned char green, unsigned char blue);
349
351
361 static Color FromARGB(unsigned char red, unsigned char green, unsigned char blue);
362
364
376 static Color FromARGB(unsigned char alpha, Color color);
377
379
395
397
407 static Color FromCMY(unsigned char cyan, unsigned char magenta, unsigned char yellow);
408
410
421 static Color FromHSV(unsigned short hue, unsigned char saturation, unsigned char value);
422
424
428
430
433 operator PgColor_t () const;
434 };
435
436 // == operators
437 inline
438 bool operator==(const PgColor_t &pg_color, Colors::eColors ph_color)
439 {
440 const PgColorModel_t * cm = PgGetColorModel();
441
442 PgColor_t
443 lhs = pg_color,
444 rhs = ph_color;
445
446 if(!(cm && cm->id != Pg_CM_RGB->id))
447 {
448 lhs &= 0x00FFFFFF;
449 rhs &= 0x00FFFFFF;
450 }
451
452 return (lhs == rhs);
453 }
454
455 inline
456 bool operator==(Colors::eColors ph_color, const PgColor_t &pg_color)
457 {
458 return (pg_color == ph_color);
459 }
460
461 inline
462 bool operator==(const PgColor_t &pg_color, const Color &ph_color)
463 {
464 return (pg_color == static_cast<PgColor_t>(ph_color));
465 }
466
467 inline
468 bool operator==(const Color &ph_color, const PgColor_t &pg_color)
469 {
470 return (pg_color == ph_color);
471 }
472
473 inline
474 bool operator==(const Color &ph_color, Colors::eColors ph_ecolor)
475 {
476 PgColor_t pg_color = ph_color;
477 return (pg_color == ph_ecolor);
478 }
479
480 inline
481 bool operator==(Colors::eColors ph_ecolor, const Color &ph_color)
482 {
483 PgColor_t pg_color = ph_color;
484 return (pg_color == ph_ecolor);
485 }
486
487 // != operators
488 inline
489 bool operator!=(const PgColor_t &pg_color, Colors::eColors ph_color)
490 {
491 return !(pg_color == ph_color);
492 }
493
494 inline
495 bool operator!=(Colors::eColors ph_color, const PgColor_t &pg_color)
496 {
497 return !(ph_color == pg_color);
498 }
499
500 inline
501 bool operator!=(const PgColor_t &pg_color, const Color &ph_color)
502 {
503 return !(pg_color == ph_color);
504 }
505
506 inline
507 bool operator!=(const Color &ph_color, const PgColor_t &pg_color)
508 {
509 return !(pg_color == ph_color);
510 }
511
512 inline
513 bool operator!=(const Color &ph_color, Colors::eColors ph_ecolor)
514 {
515 return !(ph_color == ph_ecolor);
516 }
517
518 inline
519 bool operator!=(Colors::eColors ph_ecolor, const Color &ph_color)
520 {
521 return !(ph_color == ph_ecolor);
522 }
523
524 // < operators
525 inline
526 bool operator<(const PgColor_t &pg_color, Colors::eColors ph_color)
527 {
528 if (pg_color == ph_color)
529 return false;
530 return pg_color < static_cast<PgColor_t>(ph_color);
531 }
532
533 inline
534 bool operator<(Colors::eColors ph_color, const PgColor_t &pg_color)
535 {
536 if (pg_color == ph_color)
537 return false;
538 return static_cast<PgColor_t>(ph_color) < pg_color;
539 }
540
541 inline
542 bool operator<(const PgColor_t &pg_color, const Color &ph_color)
543 {
544 if (pg_color == ph_color)
545 return false;
546 return pg_color < static_cast<PgColor_t>(ph_color);
547 }
548
549 inline
550 bool operator<(const Color &ph_color, const PgColor_t &pg_color)
551 {
552 if (pg_color == ph_color)
553 return false;
554 return static_cast<PgColor_t>(ph_color) < pg_color;
555 }
556
557 inline
558 bool operator<(const Color &ph_color, Colors::eColors ph_ecolor)
559 {
560 if (ph_color == ph_ecolor)
561 return false;
562 return static_cast<PgColor_t>(ph_color) < ph_ecolor;
563 }
564
565 inline
566 bool operator<(Colors::eColors ph_ecolor, const Color &ph_color)
567 {
568 if (ph_color == ph_ecolor)
569 return false;
570 return ph_ecolor < static_cast<PgColor_t>(ph_color);
571 }
572
573 // <= operators
574 inline
575 bool operator<=(const PgColor_t &pg_color, Colors::eColors ph_color)
576 {
577 if (pg_color == ph_color)
578 return true;
579 return pg_color < static_cast<PgColor_t>(ph_color);
580 }
581
582 inline
583 bool operator<=(Colors::eColors ph_color, const PgColor_t &pg_color)
584 {
585 if (pg_color == ph_color)
586 return true;
587 return static_cast<PgColor_t>(ph_color) < pg_color;
588 }
589
590 inline
591 bool operator<=(const PgColor_t &pg_color, const Color &ph_color)
592 {
593 if (pg_color == ph_color)
594 return true;
595 return pg_color < static_cast<PgColor_t>(ph_color);
596 }
597
598 inline
599 bool operator<=(const Color &ph_color, const PgColor_t &pg_color)
600 {
601 if (pg_color == ph_color)
602 return true;
603 return static_cast<PgColor_t>(ph_color) < pg_color;
604 }
605
606 inline
607 bool operator<=(const Color &ph_color, Colors::eColors ph_ecolor)
608 {
609 if (ph_color == ph_ecolor)
610 return true;
611 return static_cast<PgColor_t>(ph_color) < ph_ecolor;
612 }
613
614 inline
615 bool operator<=(Colors::eColors ph_ecolor, const Color &ph_color)
616 {
617 if (ph_color == ph_ecolor)
618 return true;
619 return ph_ecolor < static_cast<PgColor_t>(ph_color);
620 }
621
622 // > operators
623 inline
624 bool operator>(const PgColor_t &pg_color, Colors::eColors ph_color)
625 {
626 if (pg_color == ph_color)
627 return false;
628 return pg_color > static_cast<PgColor_t>(ph_color);
629 }
630
631 inline
632 bool operator>(Colors::eColors ph_color, const PgColor_t &pg_color)
633 {
634 if (pg_color == ph_color)
635 return false;
636 return static_cast<PgColor_t>(ph_color) > pg_color;
637 }
638
639 inline
640 bool operator>(const PgColor_t &pg_color, const Color &ph_color)
641 {
642 if (pg_color == ph_color)
643 return false;
644 return pg_color > static_cast<PgColor_t>(ph_color);
645 }
646
647 inline
648 bool operator>(const Color &ph_color, const PgColor_t &pg_color)
649 {
650 if (pg_color == ph_color)
651 return false;
652 return static_cast<PgColor_t>(ph_color) > pg_color;
653 }
654
655 inline
656 bool operator>(const Color &ph_color, Colors::eColors ph_ecolor)
657 {
658 if (ph_color == ph_ecolor)
659 return false;
660 return static_cast<PgColor_t>(ph_color) > ph_ecolor;
661 }
662
663 inline
664 bool operator>(Colors::eColors ph_ecolor, const Color &ph_color)
665 {
666 if (ph_color == ph_ecolor)
667 return false;
668 return ph_ecolor > static_cast<PgColor_t>(ph_color);
669 }
670
671 // >= operators
672 inline
673 bool operator>=(const PgColor_t &pg_color, Colors::eColors ph_color)
674 {
675 if (pg_color == ph_color)
676 return true;
677 return pg_color > static_cast<PgColor_t>(ph_color);
678 }
679
680 inline
681 bool operator>=(Colors::eColors ph_color, const PgColor_t &pg_color)
682 {
683 if (pg_color == ph_color)
684 return true;
685 return static_cast<PgColor_t>(ph_color) > pg_color;
686 }
687
688 inline
689 bool operator>=(const PgColor_t &pg_color, const Color &ph_color)
690 {
691 if (pg_color == ph_color)
692 return true;
693 return pg_color > static_cast<PgColor_t>(ph_color);
694 }
695
696 inline
697 bool operator>=(const Color &ph_color, const PgColor_t &pg_color)
698 {
699 if (pg_color == ph_color)
700 return true;
701 return static_cast<PgColor_t>(ph_color) > pg_color;
702 }
703
704 inline
705 bool operator>=(const Color &ph_color, Colors::eColors ph_ecolor)
706 {
707 if (ph_color == ph_ecolor)
708 return true;
709 return static_cast<PgColor_t>(ph_color) > ph_ecolor;
710 }
711
712 inline
713 bool operator>=(Colors::eColors ph_ecolor, const Color &ph_color)
714 {
715 if (ph_color == ph_ecolor)
716 return true;
717 return ph_ecolor > static_cast<PgColor_t>(ph_color);
718 }
719 } // namespace Drawing
720} // namespace PhWidgets
721
722
723#endif // PHWIDGETS_COLOR_H
Represents an ARGB (alpha, red, green, blue) color.
Definition: Color.h:206
static Color FromARGB(PgColor_t argb)
Creates a Color structure from a 32-bit ARGB value.
static Color FromHSV(unsigned short hue, unsigned char saturation, unsigned char value)
Creates a Color class from the specified 8-bit hue, saturation, and value. The alpha value is implici...
static Color FromARGB(unsigned char alpha, unsigned char red, unsigned char green, unsigned char blue)
Creates a Color class from the four ARGB component (alpha, red, green, and blue) values.
Color(PgColor_t argb=Colors::Black)
(constructor)
static Color FromARGB(unsigned char alpha, Color color)
Creates a Color class from the specified Color class, but with the new specified alpha value.
static Color FromCMY(unsigned char cyan, unsigned char magenta, unsigned char yellow)
Creates a Color class from the specified 8-bit color values (cyan, magenta, and yellow)....
PgColor_t ToARGB() const
Gets the 32-bit ARGB value of this Color class.
static Color FromARGB(unsigned char red, unsigned char green, unsigned char blue)
Creates a Color class from the specified 8-bit color values (red, green, and blue)....
The main namespace for all widgets.
Definition: Basic.h:11
Provides a collection of standard colors for use by a Photon microGUI application.
Definition: Color.h:25
eColors
Definition: Color.h:30
@ BlanchedAlmond
System-defined color that has an ARGB value of #FFFFEBCD.
Definition: Color.h:39
@ OliveDrab
System-defined color that has an ARGB value of #FF6B8E23.
Definition: Color.h:129
@ Pink
System-defined color that has an ARGB value of #FFFFC0CB.
Definition: Color.h:140
@ PapayaWhip
System-defined color that has an ARGB value of #FFFFEFD5.
Definition: Color.h:137
@ Goldenrod
System-defined color that has an ARGB value of #FFDAA520.
Definition: Color.h:80
@ Black
System-defined color that has an ARGB value of #FF000000.
Definition: Color.h:38
@ Maroon
System-defined color that has an ARGB value of #FF800000.
Definition: Color.h:111
@ PaleTurquoise
System-defined color that has an ARGB value of #FFAFEEEE.
Definition: Color.h:135
@ NavajoWhite
System-defined color that has an ARGB value of #FFFFDEAD.
Definition: Color.h:125
@ LightPink
System-defined color that has an ARGB value of #FFFFB6C1.
Definition: Color.h:100
@ Wheat
System-defined color that has an ARGB value of #FFF5DEB3.
Definition: Color.h:167
@ LimeGreen
System-defined color that has an ARGB value of #FF32CD32.
Definition: Color.h:108
@ Sienna
System-defined color that has an ARGB value of #FFA0522D.
Definition: Color.h:152
@ WhiteSmoke
System-defined color that has an ARGB value of #FFF5F5F5.
Definition: Color.h:169
@ LemonChiffon
System-defined color that has an ARGB value of #FFFFFACD.
Definition: Color.h:93
@ Brown
System-defined color that has an ARGB value of #FFA52A2A.
Definition: Color.h:42
@ Purple
System-defined color that has an ARGB value of #FF800080.
Definition: Color.h:143
@ LightYellow
System-defined color that has an ARGB value of #FFFFFFE0.
Definition: Color.h:106
@ DarkSlateBlue
System-defined color that has an ARGB value of #FF483D8B.
Definition: Color.h:65
@ MidnightBlue
System-defined color that has an ARGB value of #FF191970.
Definition: Color.h:121
@ Gainsboro
System-defined color that has an ARGB value of #FFDCDCDC.
Definition: Color.h:77
@ MediumPurple
System-defined color that has an ARGB value of #FF9370DB.
Definition: Color.h:115
@ SeaShell
System-defined color that has an ARGB value of #FFFFF5EE.
Definition: Color.h:151
@ LightSalmon
System-defined color that has an ARGB value of #FFFFA07A.
Definition: Color.h:101
@ Gray
System-defined color that has an ARGB value of #FF808080.
Definition: Color.h:81
@ Crimson
System-defined color that has an ARGB value of #FFDC143C.
Definition: Color.h:50
@ Gold
System-defined color that has an ARGB value of #FFFFD700.
Definition: Color.h:79
@ Navy
System-defined color that has an ARGB value of #FF000080.
Definition: Color.h:126
@ White
System-defined color that has an ARGB value of #FFFFFFFF.
Definition: Color.h:168
@ Violet
System-defined color that has an ARGB value of #FFEE82EE.
Definition: Color.h:166
@ Coral
System-defined color that has an ARGB value of #FFFF7F50.
Definition: Color.h:47
@ DarkGoldenrod
System-defined color that has an ARGB value of #FFB8860B.
Definition: Color.h:54
@ SteelBlue
System-defined color that has an ARGB value of #FF4682B4.
Definition: Color.h:159
@ Ivory
System-defined color that has an ARGB value of #FFFFFFF0.
Definition: Color.h:88
@ ForestGreen
System-defined color that has an ARGB value of #FF228B22.
Definition: Color.h:75
@ DarkOrange
System-defined color that has an ARGB value of #FFFF8C00.
Definition: Color.h:60
@ MediumTurquoise
System-defined color that has an ARGB value of #FF48D1CC.
Definition: Color.h:119
@ PaleGoldenrod
System-defined color that has an ARGB value of #FFEEE8AA.
Definition: Color.h:133
@ Orange
System-defined color that has an ARGB value of #FFFFA500.
Definition: Color.h:130
@ Lavender
System-defined color that has an ARGB value of #FFE6E6FA.
Definition: Color.h:90
@ Red
System-defined color that has an ARGB value of #FFFF0000.
Definition: Color.h:144
@ Salmon
System-defined color that has an ARGB value of #FFFA8072.
Definition: Color.h:148
@ FloralWhite
System-defined color that has an ARGB value of #FFFFFAF0.
Definition: Color.h:74
@ MediumSlateBlue
System-defined color that has an ARGB value of #FF7B68EE.
Definition: Color.h:117
@ LightSeaGreen
System-defined color that has an ARGB value of #FF20B2AA.
Definition: Color.h:102
@ DarkOrchid
System-defined color that has an ARGB value of #FF9932CC.
Definition: Color.h:61
@ RosyBrown
System-defined color that has an ARGB value of #FFBC8F8F.
Definition: Color.h:145
@ DarkViolet
System-defined color that has an ARGB value of #FF9400D3.
Definition: Color.h:68
@ Cyan
System-defined color that has an ARGB value of #FF00FFFF.
Definition: Color.h:51
@ DarkSeaGreen
System-defined color that has an ARGB value of #FF8FBC8F.
Definition: Color.h:64
@ Indigo
System-defined color that has an ARGB value of #FF4B0082.
Definition: Color.h:87
@ PaleGreen
System-defined color that has an ARGB value of #FF98FB98.
Definition: Color.h:134
@ Peru
System-defined color that has an ARGB value of #FFCD853F.
Definition: Color.h:139
@ Chartreuse
System-defined color that has an ARGB value of #FF7FFF00.
Definition: Color.h:45
@ Fuchsia
System-defined color that has an ARGB value of #FFFF00FF.
Definition: Color.h:76
@ Beige
System-defined color that has an ARGB value of #FFF5F5DC.
Definition: Color.h:36
@ Transparent
System-defined color that has an ARGB value of #00FFFFFF.
Definition: Color.h:164
@ Lime
System-defined color that has an ARGB value of #FF00FF00.
Definition: Color.h:107
@ LightSteelBlue
System-defined color that has an ARGB value of #FFB0C4DE.
Definition: Color.h:105
@ Thistle
System-defined color that has an ARGB value of #FFD8BFD8.
Definition: Color.h:162
@ DeepSkyBlue
System-defined color that has an ARGB value of #FF00BFFF.
Definition: Color.h:70
@ OldLace
System-defined color that has an ARGB value of #FFFDF5E6.
Definition: Color.h:127
@ DarkRed
System-defined color that has an ARGB value of #FF8B0000.
Definition: Color.h:62
@ LightCoral
System-defined color that has an ARGB value of #FFF08080.
Definition: Color.h:95
@ SeaGreen
System-defined color that has an ARGB value of #FF2E8B57.
Definition: Color.h:150
@ Honeydew
System-defined color that has an ARGB value of #FFF0FFF0.
Definition: Color.h:84
@ SlateBlue
System-defined color that has an ARGB value of #FF6A5ACD.
Definition: Color.h:155
@ PowderBlue
System-defined color that has an ARGB value of #FFB0E0E6.
Definition: Color.h:142
@ Tomato
System-defined color that has an ARGB value of #FFFF6347.
Definition: Color.h:163
@ LightSlateGray
System-defined color that has an ARGB value of #FF778899.
Definition: Color.h:104
@ GreenYellow
System-defined color that has an ARGB value of #FFADFF2F.
Definition: Color.h:83
@ Khaki
System-defined color that has an ARGB value of #FFF0E68C.
Definition: Color.h:89
@ BlueViolet
System-defined color that has an ARGB value of #FF8A2BE2.
Definition: Color.h:41
@ DarkBlue
System-defined color that has an ARGB value of #FF00008B.
Definition: Color.h:52
@ Green
System-defined color that has an ARGB value of #FF008000.
Definition: Color.h:82
@ LavenderBlush
System-defined color that has an ARGB value of #FFFFF0F5.
Definition: Color.h:91
@ MintCream
System-defined color that has an ARGB value of #FFF5FFFA.
Definition: Color.h:122
@ MediumSeaGreen
System-defined color that has an ARGB value of #FF3CB371.
Definition: Color.h:116
@ MediumAquamarine
System-defined color that has an ARGB value of #FF66CDAA.
Definition: Color.h:112
@ Teal
System-defined color that has an ARGB value of #FF008080.
Definition: Color.h:161
@ Firebrick
System-defined color that has an ARGB value of #FFB22222.
Definition: Color.h:73
@ GhostWhite
System-defined color that has an ARGB value of #FFF8F8FF.
Definition: Color.h:78
@ DeepPink
System-defined color that has an ARGB value of #FFFF1493.
Definition: Color.h:69
@ Bisque
System-defined color that has an ARGB value of #FFFFE4C4.
Definition: Color.h:37
@ LightSkyBlue
System-defined color that has an ARGB value of #FF87CEFA.
Definition: Color.h:103
@ LightGray
System-defined color that has an ARGB value of #FFD3D3D3.
Definition: Color.h:98
@ DarkTurquoise
System-defined color that has an ARGB value of #FF00CED1.
Definition: Color.h:67
@ SaddleBrown
System-defined color that has an ARGB value of #FF8B4513.
Definition: Color.h:147
@ Cornsilk
System-defined color that has an ARGB value of #FFFFF8DC.
Definition: Color.h:49
@ LightCyan
System-defined color that has an ARGB value of #FFE0FFFF.
Definition: Color.h:96
@ Orchid
System-defined color that has an ARGB value of #FFDA70D6.
Definition: Color.h:132
@ DimGray
System-defined color that has an ARGB value of #FF696969.
Definition: Color.h:71
@ MediumSpringGreen
System-defined color that has an ARGB value of #FF00FA9A.
Definition: Color.h:118
@ Linen
System-defined color that has an ARGB value of #FFFAF0E6.
Definition: Color.h:109
@ CornflowerBlue
System-defined color that has an ARGB value of #FF6495ED.
Definition: Color.h:48
@ YellowGreen
System-defined color that has an ARGB value of #FF9ACD32.
Definition: Color.h:171
@ RoyalBlue
System-defined color that has an ARGB value of #FF4169E1.
Definition: Color.h:146
@ SandyBrown
System-defined color that has an ARGB value of #FFF4A460.
Definition: Color.h:149
@ Silver
System-defined color that has an ARGB value of #FFC0C0C0.
Definition: Color.h:153
@ PaleVioletRed
System-defined color that has an ARGB value of #FFDB7093.
Definition: Color.h:136
@ Magenta
System-defined color that has an ARGB value of #FFFF00FF.
Definition: Color.h:110
@ HotPink
System-defined color that has an ARGB value of #FFFF69B4.
Definition: Color.h:85
@ Moccasin
System-defined color that has an ARGB value of #FFFFE4B5.
Definition: Color.h:124
@ Tan
System-defined color that has an ARGB value of #FFD2B48C.
Definition: Color.h:160
@ MistyRose
System-defined color that has an ARGB value of #FFFFE4E1.
Definition: Color.h:123
@ DarkMagenta
System-defined color that has an ARGB value of #FF8B008B.
Definition: Color.h:58
@ Chocolate
System-defined color that has an ARGB value of #FFD2691E.
Definition: Color.h:46
@ DodgerBlue
System-defined color that has an ARGB value of #FF1E90FF.
Definition: Color.h:72
@ MediumBlue
System-defined color that has an ARGB value of #FF0000CD.
Definition: Color.h:113
@ DarkCyan
System-defined color that has an ARGB value of #FF008B8B.
Definition: Color.h:53
@ BurlyWood
System-defined color that has an ARGB value of #FFDEB887.
Definition: Color.h:43
@ DarkSalmon
System-defined color that has an ARGB value of #FFE9967A.
Definition: Color.h:63
@ DarkKhaki
System-defined color that has an ARGB value of #FFBDB76B.
Definition: Color.h:57
@ Olive
System-defined color that has an ARGB value of #FF808000.
Definition: Color.h:128
@ Yellow
System-defined color that has an ARGB value of #FFFFFF00.
Definition: Color.h:170
@ IndianRed
System-defined color that has an ARGB value of #FFCD5C5C.
Definition: Color.h:86
@ Blue
System-defined color that has an ARGB value of #FF0000FF.
Definition: Color.h:40
@ Plum
System-defined color that has an ARGB value of #FFDDA0DD.
Definition: Color.h:141
@ DarkOliveGreen
System-defined color that has an ARGB value of #FF556B2F.
Definition: Color.h:59
@ Aquamarine
System-defined color that has an ARGB value of #FF7FFFD4.
Definition: Color.h:34
@ Aqua
System-defined color that has an ARGB value of #FF00FFFF.
Definition: Color.h:33
@ SlateGray
System-defined color that has an ARGB value of #FF708090.
Definition: Color.h:156
@ SkyBlue
System-defined color that has an ARGB value of #FF87CEEB.
Definition: Color.h:154
@ LightBlue
System-defined color that has an ARGB value of #FFADD8E6.
Definition: Color.h:94
@ DarkGray
System-defined color that has an ARGB value of #FFA9A9A9.
Definition: Color.h:55
@ PeachPuff
System-defined color that has an ARGB value of #FFFFDAB9.
Definition: Color.h:138
@ LightGoldenrodYellow
System-defined color that has an ARGB value of #FFFAFAD2.
Definition: Color.h:97
@ Snow
System-defined color that has an ARGB value of #FFFFFAFA.
Definition: Color.h:157
@ LawnGreen
System-defined color that has an ARGB value of #FF7CFC00.
Definition: Color.h:92
@ SpringGreen
System-defined color that has an ARGB value of #FF00FF7F.
Definition: Color.h:158
@ MediumOrchid
System-defined color that has an ARGB value of #FFBA55D3.
Definition: Color.h:114
@ DarkSlateGray
System-defined color that has an ARGB value of #FF2F4F4F.
Definition: Color.h:66
@ AntiqueWhite
System-defined color that has an ARGB value of #FFFAEBD7.
Definition: Color.h:32
@ LightGreen
System-defined color that has an ARGB value of #FF90EE90.
Definition: Color.h:99
@ MediumVioletRed
System-defined color that has an ARGB value of #FFC71585.
Definition: Color.h:120
@ DarkGreen
System-defined color that has an ARGB value of #FF006400.
Definition: Color.h:56
@ Azure
System-defined color that has an ARGB value of #FFF0FFFF.
Definition: Color.h:35
@ Turquoise
System-defined color that has an ARGB value of #FF40E0D0.
Definition: Color.h:165
@ OrangeRed
System-defined color that has an ARGB value of #FFFF4500.
Definition: Color.h:131
@ AliceBlue
System-defined color that has an ARGB value of #FFF0F8FF.
Definition: Color.h:31
@ CadetBlue
System-defined color that has an ARGB value of #FF5F9EA0.
Definition: Color.h:44