-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathFTOLED_Colours.h
154 lines (154 loc) · 9.51 KB
/
FTOLED_Colours.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
/*
* This is a collection of named colours known as the "X11 Colours",
* https://en.wikipedia.org/wiki/X11_color_names
*
* The numbers shown here before the division sign are the RGB (24-bit)
* values, divided down to become RGB565.
*
*/
#if !defined(_FTOLED_OLED_Colours) && !defined(_FTOLED_Colors)
#define _FTOLED_OLED_Colours
#define _FTOLED_Colors
const OLED_Colour WHITE = { 255/8, 255/4, 255/8 };
const OLED_Colour BLACK = { 0/8, 0/4, 0/8 };
const OLED_Colour RED = { 255/8, 0/4, 0/8 };
const OLED_Colour GREEN = { 0/8, 255/4, 0/8 };
const OLED_Colour BLUE = { 0/8, 0/4, 255/8 };
const OLED_Colour SNOW = { 255/8, 250/4, 250/8 };
const OLED_Colour GHOSTWHITE = { 248/8, 248/4, 255/8 };
const OLED_Colour WHITESMOKE = { 245/8, 245/4, 245/8 };
const OLED_Colour GAINSBORO = { 220/8, 220/4, 220/8 };
const OLED_Colour FLORALWHITE = { 255/8, 250/4, 240/8 };
const OLED_Colour OLDLACE = { 253/8, 245/4, 230/8 };
const OLED_Colour LINEN = { 250/8, 240/4, 230/8 };
const OLED_Colour ANTIQUEWHITE = { 250/8, 235/4, 215/8 };
const OLED_Colour PAPAYAWHIP = { 255/8, 239/4, 213/8 };
const OLED_Colour BLANCHEDALMOND = { 255/8, 235/4, 205/8 };
const OLED_Colour BISQUE = { 255/8, 228/4, 196/8 };
const OLED_Colour PEACHPUFF = { 255/8, 218/4, 185/8 };
const OLED_Colour NAVAJOWHITE = { 255/8, 222/4, 173/8 };
const OLED_Colour MOCCASIN = { 255/8, 228/4, 181/8 };
const OLED_Colour CORNSILK = { 255/8, 248/4, 220/8 };
const OLED_Colour IVORY = { 255/8, 255/4, 240/8 };
const OLED_Colour LEMONCHIFFON = { 255/8, 250/4, 205/8 };
const OLED_Colour SEASHELL = { 255/8, 245/4, 238/8 };
const OLED_Colour HONEYDEW = { 240/8, 255/4, 240/8 };
const OLED_Colour MINTCREAM = { 245/8, 255/4, 250/8 };
const OLED_Colour AZURE = { 240/8, 255/4, 255/8 };
const OLED_Colour ALICEBLUE = { 240/8, 248/4, 255/8 };
const OLED_Colour LAVENDER = { 230/8, 230/4, 250/8 };
const OLED_Colour LAVENDERBLUSH = { 255/8, 240/4, 245/8 };
const OLED_Colour MISTYROSE = { 255/8, 228/4, 225/8 };
const OLED_Colour DARKSLATEGRAY = { 47/8, 79/4, 79/8 };
const OLED_Colour DARKSLATEGREY = { 47/8, 79/4, 79/8 };
const OLED_Colour DIMGRAY = { 105/8, 105/4, 105/8 };
const OLED_Colour DIMGREY = { 105/8, 105/4, 105/8 };
const OLED_Colour SLATEGRAY = { 112/8, 128/4, 144/8 };
const OLED_Colour SLATEGREY = { 112/8, 128/4, 144/8 };
const OLED_Colour LIGHTSLATEGRAY = { 119/8, 136/4, 153/8 };
const OLED_Colour LIGHTSLATEGREY = { 119/8, 136/4, 153/8 };
const OLED_Colour GRAY = { 190/8, 190/4, 190/8 };
const OLED_Colour GREY = { 190/8, 190/4, 190/8 };
const OLED_Colour LIGHTGREY = { 211/8, 211/4, 211/8 };
const OLED_Colour LIGHTGRAY = { 211/8, 211/4, 211/8 };
const OLED_Colour MIDNIGHTBLUE = { 25/8, 25/4, 112/8 };
const OLED_Colour NAVY = { 0/8, 0/4, 128/8 };
const OLED_Colour NAVYBLUE = { 0/8, 0/4, 128/8 };
const OLED_Colour CORNFLOWERBLUE = { 100/8, 149/4, 237/8 };
const OLED_Colour DARKSLATEBLUE = { 72/8, 61/4, 139/8 };
const OLED_Colour SLATEBLUE = { 106/8, 90/4, 205/8 };
const OLED_Colour MEDIUMSLATEBLUE = { 123/8, 104/4, 238/8 };
const OLED_Colour LIGHTSLATEBLUE = { 132/8, 112/4, 255/8 };
const OLED_Colour MEDIUMBLUE = { 0/8, 0/4, 205/8 };
const OLED_Colour ROYALBLUE = { 65/8, 105/4, 225/8 };
const OLED_Colour DODGERBLUE = { 30/8, 144/4, 255/8 };
const OLED_Colour DEEPSKYBLUE = { 0/8, 191/4, 255/8 };
const OLED_Colour SKYBLUE = { 135/8, 206/4, 235/8 };
const OLED_Colour LIGHTSKYBLUE = { 135/8, 206/4, 250/8 };
const OLED_Colour STEELBLUE = { 70/8, 130/4, 180/8 };
const OLED_Colour LIGHTSTEELBLUE = { 176/8, 196/4, 222/8 };
const OLED_Colour LIGHTBLUE = { 173/8, 216/4, 230/8 };
const OLED_Colour POWDERBLUE = { 176/8, 224/4, 230/8 };
const OLED_Colour PALETURQUOISE = { 175/8, 238/4, 238/8 };
const OLED_Colour DARKTURQUOISE = { 0/8, 206/4, 209/8 };
const OLED_Colour MEDIUMTURQUOISE = { 72/8, 209/4, 204/8 };
const OLED_Colour TURQUOISE = { 64/8, 224/4, 208/8 };
const OLED_Colour CYAN = { 0/8, 255/4, 255/8 };
const OLED_Colour LIGHTCYAN = { 224/8, 255/4, 255/8 };
const OLED_Colour CADETBLUE = { 95/8, 158/4, 160/8 };
const OLED_Colour MEDIUMAQUAMARINE = { 102/8, 205/4, 170/8 };
const OLED_Colour AQUAMARINE = { 127/8, 255/4, 212/8 };
const OLED_Colour DARKGREEN = { 0/8, 100/4, 0/8 };
const OLED_Colour DARKOLIVEGREEN = { 85/8, 107/4, 47/8 };
const OLED_Colour DARKSEAGREEN = { 143/8, 188/4, 143/8 };
const OLED_Colour SEAGREEN = { 46/8, 139/4, 87/8 };
const OLED_Colour MEDIUMSEAGREEN = { 60/8, 179/4, 113/8 };
const OLED_Colour LIGHTSEAGREEN = { 32/8, 178/4, 170/8 };
const OLED_Colour PALEGREEN = { 152/8, 251/4, 152/8 };
const OLED_Colour SPRINGGREEN = { 0/8, 255/4, 127/8 };
const OLED_Colour LAWNGREEN = { 124/8, 252/4, 0/8 };
const OLED_Colour CHARTREUSE = { 127/8, 255/4, 0/8 };
const OLED_Colour MEDIUMSPRINGGREEN = { 0/8, 250/4, 154/8 };
const OLED_Colour GREENYELLOW = { 173/8, 255/4, 47/8 };
const OLED_Colour LIMEGREEN = { 50/8, 205/4, 50/8 };
const OLED_Colour YELLOWGREEN = { 154/8, 205/4, 50/8 };
const OLED_Colour FORESTGREEN = { 34/8, 139/4, 34/8 };
const OLED_Colour OLIVEDRAB = { 107/8, 142/4, 35/8 };
const OLED_Colour DARKKHAKI = { 189/8, 183/4, 107/8 };
const OLED_Colour KHAKI = { 240/8, 230/4, 140/8 };
const OLED_Colour PALEGOLDENROD = { 238/8, 232/4, 170/8 };
const OLED_Colour LIGHTGOLDENRODYELLOW = { 250/8, 250/4, 210/8 };
const OLED_Colour LIGHTYELLOW = { 255/8, 255/4, 224/8 };
const OLED_Colour YELLOW = { 255/8, 255/4, 0/8 };
const OLED_Colour GOLD = { 255/8, 215/4, 0/8 };
const OLED_Colour LIGHTGOLDENROD = { 238/8, 221/4, 130/8 };
const OLED_Colour GOLDENROD = { 218/8, 165/4, 32/8 };
const OLED_Colour DARKGOLDENROD = { 184/8, 134/4, 11/8 };
const OLED_Colour ROSYBROWN = { 188/8, 143/4, 143/8 };
const OLED_Colour INDIANRED = { 205/8, 92/4, 92/8 };
const OLED_Colour SADDLEBROWN = { 139/8, 69/4, 19/8 };
const OLED_Colour SIENNA = { 160/8, 82/4, 45/8 };
const OLED_Colour PERU = { 205/8, 133/4, 63/8 };
const OLED_Colour BURLYWOOD = { 222/8, 184/4, 135/8 };
const OLED_Colour BEIGE = { 245/8, 245/4, 220/8 };
const OLED_Colour WHEAT = { 245/8, 222/4, 179/8 };
const OLED_Colour SANDYBROWN = { 244/8, 164/4, 96/8 };
const OLED_Colour TAN = { 210/8, 180/4, 140/8 };
const OLED_Colour CHOCOLATE = { 210/8, 105/4, 30/8 };
const OLED_Colour FIREBRICK = { 178/8, 34/4, 34/8 };
const OLED_Colour BROWN = { 165/8, 42/4, 42/8 };
const OLED_Colour DARKSALMON = { 233/8, 150/4, 122/8 };
const OLED_Colour SALMON = { 250/8, 128/4, 114/8 };
const OLED_Colour LIGHTSALMON = { 255/8, 160/4, 122/8 };
const OLED_Colour ORANGE = { 255/8, 165/4, 0/8 };
const OLED_Colour DARKORANGE = { 255/8, 140/4, 0/8 };
const OLED_Colour CORAL = { 255/8, 127/4, 80/8 };
const OLED_Colour LIGHTCORAL = { 240/8, 128/4, 128/8 };
const OLED_Colour TOMATO = { 255/8, 99/4, 71/8 };
const OLED_Colour ORANGERED = { 255/8, 69/4, 0/8 };
const OLED_Colour HOTPINK = { 255/8, 105/4, 180/8 };
const OLED_Colour DEEPPINK = { 255/8, 20/4, 147/8 };
const OLED_Colour LIGHTPINK = { 255/8, 182/4, 193/8 };
const OLED_Colour PALEVIOLETRED = { 219/8, 112/4, 147/8 };
const OLED_Colour MAROON = { 176/8, 48/4, 96/8 };
const OLED_Colour MEDIUMVIOLETRED = { 199/8, 21/4, 133/8 };
const OLED_Colour VIOLETRED = { 208/8, 32/4, 144/8 };
const OLED_Colour MAGENTA = { 255/8, 0/4, 255/8 };
const OLED_Colour VIOLET = { 238/8, 130/4, 238/8 };
const OLED_Colour PLUM = { 221/8, 160/4, 221/8 };
const OLED_Colour ORCHID = { 218/8, 112/4, 214/8 };
const OLED_Colour MEDIUMORCHID = { 186/8, 85/4, 211/8 };
const OLED_Colour DARKORCHID = { 153/8, 50/4, 204/8 };
const OLED_Colour DARKVIOLET = { 148/8, 0/4, 211/8 };
const OLED_Colour BLUEVIOLET = { 138/8, 43/4, 226/8 };
const OLED_Colour PURPLE = { 160/8, 32/4, 240/8 };
const OLED_Colour MEDIUMPURPLE = { 147/8, 112/4, 219/8 };
const OLED_Colour THISTLE = { 216/8, 191/4, 216/8 };
const OLED_Colour DARKGREY = { 169/8, 169/4, 169/8 };
const OLED_Colour DARKGRAY = { 169/8, 169/4, 169/8 };
const OLED_Colour DARKBLUE = { 0 /8, 0/4, 139/8 };
const OLED_Colour DARKCYAN = { 0 /8, 139/4, 139/8 };
const OLED_Colour DARKMAGENTA = { 139/8, 0/4, 139/8 };
const OLED_Colour DARKRED = { 139/8, 0/4, 0/8 };
const OLED_Colour LIGHTGREEN = { 144/8, 238/4, 14/84 };
#endif