|
@@ -30,7 +30,8 @@
|
30
|
30
|
#define COLOR(color) RGB(((color >> 16) & 0xFF), ((color >> 8) & 0xFF), (color & 0xFF))
|
31
|
31
|
#define HALF(color) RGB(RED(color) >> 1, GREEN(color) >> 1, BLUE(color) >> 1)
|
32
|
32
|
|
33
|
|
-// see https://ee-programming-notepad.blogspot.com/2016/10/16-bit-color-generator-picker.html
|
|
33
|
+// 16 bit color generator: https://ee-programming-notepad.blogspot.com/2016/10/16-bit-color-generator-picker.html
|
|
34
|
+// RGB565 color picker: https://trolsoft.ru/en/articles/rgb565-color-picker
|
34
|
35
|
|
35
|
36
|
#define COLOR_BLACK 0x0000 // #000000
|
36
|
37
|
#define COLOR_WHITE 0xFFFF // #FFFFFF
|
|
@@ -38,7 +39,7 @@
|
38
|
39
|
#define COLOR_GREY 0x7BEF // #808080
|
39
|
40
|
#define COLOR_DARKGREY 0x4208 // #404040
|
40
|
41
|
#define COLOR_DARKGREY2 0x39E7 // #303030
|
41
|
|
-#define COLOR_DARK 0x0003 // Some dark color
|
|
42
|
+#define COLOR_DARK 0x0003 // #000019
|
42
|
43
|
|
43
|
44
|
#define COLOR_RED 0xF800 // #FF0000
|
44
|
45
|
#define COLOR_SCARLET 0xF904 // #FF2020
|
|
@@ -51,7 +52,7 @@
|
51
|
52
|
#define COLOR_CYAN 0x07FF // #00FFFF
|
52
|
53
|
#define COLOR_AQUA 0x07FF // #00FFFF
|
53
|
54
|
#define COLOR_DODGER_BLUE 0x041F // #0080FF
|
54
|
|
-#define COLOR_VIVID_VIOLET 0x7933 // #772399
|
|
55
|
+#define COLOR_VIVID_VIOLET 0x7933 // #772399
|
55
|
56
|
|
56
|
57
|
#define COLOR_DARK_PURPLE 0x9930 // #992380
|
57
|
58
|
|
|
@@ -73,10 +74,10 @@
|
73
|
74
|
#define COLOR_BACKGROUND 0x20AC // #1E156E
|
74
|
75
|
#endif
|
75
|
76
|
#ifndef COLOR_SELECTION_BG
|
76
|
|
- #define COLOR_SELECTION_BG 0x9930 // #992380
|
|
77
|
+ #define COLOR_SELECTION_BG 0x9930 // #992380
|
77
|
78
|
#endif
|
78
|
79
|
#ifndef COLOR_WEBSITE_URL
|
79
|
|
- #define COLOR_WEBSITE_URL 0x03B7
|
|
80
|
+ #define COLOR_WEBSITE_URL 0x03B7 // #0075BD
|
80
|
81
|
#endif
|
81
|
82
|
|
82
|
83
|
#ifndef COLOR_INACTIVE
|