summaryrefslogtreecommitdiff
path: root/supervisor/shared/display.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-08-28 16:09:18 -0400
committerDan Halbert <halbert@halwitz.org>2019-08-28 16:09:18 -0400
commita72bcab0fd2af3c2b92f4d256c6bd5ae58fd225e (patch)
tree745a219e936af91dac0a4d5de2cc0ef5d6c93a6b /supervisor/shared/display.c
parent0364f1dc854ff5f30b9ab2a72a406aab684a1d20 (diff)
parent7cbae3d20c0f79511a932bbcb2d66d2620b6bb3a (diff)
Merge remote-tracking branch 'adafruit/master' into bleio-api-revamp
Diffstat (limited to 'supervisor/shared/display.c')
-rw-r--r--supervisor/shared/display.c24
1 files changed, 18 insertions, 6 deletions
diff --git a/supervisor/shared/display.c b/supervisor/shared/display.c
index fd51e2c07..586b6f8be 100644
--- a/supervisor/shared/display.c
+++ b/supervisor/shared/display.c
@@ -151,37 +151,49 @@ _displayio_color_t blinka_colors[7] = {
.rgb888 = 0x000000,
.rgb565 = 0x0000,
.luma = 0x00,
+ .chroma = 0,
.transparent = true
},
{
.rgb888 = 0x8428bc,
.rgb565 = 0x7889,
- .luma = 0xff // We cheat the luma here. It is actually 0x60
+ .luma = 0xff, // We cheat the luma here. It is actually 0x60
+ .hue = 184,
+ .chroma = 148
},
{
.rgb888 = 0xff89bc,
.rgb565 = 0xB8FC,
- .luma = 0xb5
+ .luma = 0xb5,
+ .hue = 222,
+ .chroma = 118
},
{
.rgb888 = 0x7beffe,
.rgb565 = 0x9F86,
- .luma = 0xe0
+ .luma = 0xe0,
+ .hue = 124,
+ .chroma = 131
},
{
.rgb888 = 0x51395f,
.rgb565 = 0x0D5A,
- .luma = 0x47
+ .luma = 0x47,
+ .hue = 185,
+ .chroma = 38
},
{
.rgb888 = 0xffffff,
.rgb565 = 0xffff,
- .luma = 0xff
+ .luma = 0xff,
+ .chroma = 0
},
{
.rgb888 = 0x0736a0,
.rgb565 = 0xf501,
- .luma = 0x44
+ .luma = 0x44,
+ .hue = 147,
+ .chroma = 153
},
};