EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
glib_color.h
Go to the documentation of this file.
1  /*************************************************************************/
16 #ifndef __GLIB_COLOR_H
17 #define __GLIB_COLOR_H
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 /* A Set of color defines. This is a subset of the X11 colors */
24 #define AliceBlue (0x00F0F8FF)
25 #define AntiqueWhite (0x00FAEBD7)
26 #define Aqua (0x0000FFFF)
27 #define Aquamarine (0x007FFFD4)
28 #define Azure (0x00F0FFFF)
29 #define Beige (0x00F5F5DC)
30 #define Bisque (0x00FFE4C4)
31 #define Black (0x00000000)
32 #define BlanchedAlmond (0x00FFEBCD)
33 #define Blue (0x000000FF)
34 #define BlueViolet (0x008A2BE2)
35 #define Brown (0x00A52A2A)
36 #define BurlyWood (0x00DEB887)
37 #define CadetBlue (0x005F9EA0)
38 #define Chartreuse (0x007FFF00)
39 #define Chocolate (0x00D2691E)
40 #define Coral (0x00FF7F50)
41 #define CornflowerBlue (0x006495ED)
42 #define Cornsilk (0x00FFF8DC)
43 #define Crimson (0x00DC143C)
44 #define Cyan (0x0000FFFF)
45 #define DarkBlue (0x0000008B)
46 #define DarkCyan (0x00008B8B)
47 #define DarkGoldenrod (0x00B8860B)
48 #define DarkGray (0x00A9A9A9)
49 #define DarkGreen (0x00006400)
50 #define DarkKhaki (0x00BDB76B)
51 #define DarkMagenta (0x008B008B)
52 #define DarkOliveGreen (0x00556B2F)
53 #define DarkOrange (0x00FF8C00)
54 #define DarkOrchid (0x009932CC)
55 #define DarkRed (0x008B0000)
56 #define DarkSalmon (0x00E9967A)
57 #define DarkSeaGreen (0x008FBC8F)
58 #define DarkSlateBlue (0x00483D8B)
59 #define DarkSlateGray (0x002F4F4F)
60 #define DarkTurquoise (0x0000CED1)
61 #define DarkViolet (0x009400D3)
62 #define DeepPink (0x00FF1493)
63 #define DeepSkyBlue (0x0000BFFF)
64 #define DimGray (0x00696969)
65 #define DodgerBlue (0x001E90FF)
66 #define FireBrick (0x00B22222)
67 #define FloralWhite (0x00FFFAF0)
68 #define ForestGreen (0x00228B22)
69 #define Fuchsia (0x00FF00FF)
70 #define Gainsboro (0x00DCDCDC)
71 #define GhostWhite (0x00F8F8FF)
72 #define Gold (0x00FFD700)
73 #define Goldenrod (0x00DAA520)
74 #define Gray (0x00808080)
75 #define Green (0x00008000)
76 #define GreenYellow (0x00ADFF2F)
77 #define Honeydew (0x00F0FFF0)
78 #define HotPink (0x00FF69B4)
79 #define IndianRed (0x00CD5C5C)
80 #define Indigo (0x004B0082)
81 #define Ivory (0x00FFFFF0)
82 #define Khaki (0x00F0E68C)
83 #define Lavender (0x00E6E6FA)
84 #define LavenderBlush (0x00FFF0F5)
85 #define LawnGreen (0x007CFC00)
86 #define LemonChiffon (0x00FFFACD)
87 #define LightBlue (0x00ADD8E6)
88 #define LightCoral (0x00F08080)
89 #define LightCyan (0x00E0FFFF)
90 #define LightGoldenrodYellow (0x00FAFAD2)
91 #define LightGreen (0x0090EE90)
92 #define LightGrey (0x00D3D3D3)
93 #define LightPink (0x00FFB6C1)
94 #define LightSalmon (0x00FFA07A)
95 #define LightSeaGreen (0x0020B2AA)
96 #define LightSkyBlue (0x0087CEFA)
97 #define LightSlateGray (0x00778899)
98 #define LightSteelBlue (0x00B0C4DE)
99 #define LightYellow (0x00FFFFE0)
100 #define Lime (0x0000FF00)
101 #define LimeGreen (0x0032CD32)
102 #define Linen (0x00FAF0E6)
103 #define Magenta (0x00FF00FF)
104 #define Maroon (0x00800000)
105 #define MediumAquamarine (0x0066CDAA)
106 #define MediumBlue (0x000000CD)
107 #define MediumOrchid (0x00BA55D3)
108 #define MediumPurple (0x009370DB)
109 #define MediumSeaGreen (0x003CB371)
110 #define MediumSlateBlue (0x007B68EE)
111 #define MediumSpringGreen (0x0000FA9A)
112 #define MediumTurquoise (0x0048D1CC)
113 #define MediumVioletRed (0x00C71585)
114 #define MidnightBlue (0x00191970)
115 #define MintCream (0x00F5FFFA)
116 #define MistyRose (0x00FFE4E1)
117 #define Moccasin (0x00FFE4B5)
118 #define NavajoWhite (0x00FFDEAD)
119 #define Navy (0x00000080)
120 #define OldLace (0x00FDF5E6)
121 #define Olive (0x00808000)
122 #define OliveDrab (0x006B8E23)
123 #define Orange (0x00FFA500)
124 #define OrangeRed (0x00FF4500)
125 #define Orchid (0x00DA70D6)
126 #define PaleGoldenrod (0x00EEE8AA)
127 #define PaleGreen (0x0098FB98)
128 #define PaleTurquoise (0x00AFEEEE)
129 #define PaleVioletRed (0x00DB7093)
130 #define PaleVioletRed (0x00DB7093)
131 #define PapayaWhip (0x00FFEFD5)
132 #define PeachPuff (0x00FFDAB9)
133 #define Peru (0x00CD853F)
134 #define Pink (0x00FFC0CB)
135 #define Plum (0x00DDA0DD)
136 #define PowderBlue (0x00B0E0E6)
137 #define Purple (0x00800080)
138 #define Red (0x00FF0000)
139 #define RosyBrown (0x00BC8F8F)
140 #define RoyalBlue (0x004169E1)
141 #define SaddleBrown (0x008B4513)
142 #define Salmon (0x00FA8072)
143 #define SandyBrown (0x00F4A460)
144 #define SeaGreen (0x002E8B57)
145 #define Seashell (0x00FFF5EE)
146 #define Sienna (0x00A0522D)
147 #define Silver (0x00C0C0C0)
148 #define SkyBlue (0x0087CEEB)
149 #define SlateBlue (0x006A5ACD)
150 #define SlateGray (0x00708090)
151 #define Snow (0x00FFFAFA)
152 #define SpringGreen (0x0000FF7F)
153 #define SteelBlue (0x004682B4)
154 #define Tan (0x00D2B48C)
155 #define Teal (0x00008080)
156 #define Thistle (0x00D8BFD8)
157 #define Tomato (0x00FF6347)
158 #define Turquoise (0x0040E0D0)
159 #define Violet (0x00EE82EE)
160 #define Wheat (0x00F5DEB3)
161 #define White (0x00FFFFFF)
162 #define WhiteSmoke (0x00F5F5F5)
163 #define Yellow (0x00FFFF00)
164 #define YellowGreen (0x009ACD32)
166 /* Mask to help extract components */
167 #define RedMask (0x00FF0000)
168 #define RedShift 16
169 #define GreenMask (0x0000FF00)
170 #define GreenShift 8
171 #define BlueMask (0x000000FF)
172 #define BlueShift 0
174 #ifdef __cplusplus
175 }
176 #endif
177 
178 #endif