Deluge Firmware 1.3.0
Build date: 2025.06.05
Loading...
Searching...
No Matches
palette.h
1#pragma once
2#include "rgb.h"
3
4namespace deluge::gui::colours {
5using Colour = RGB;
6
7// Standard palette, with some modifications for the deluge (see _full)
8constexpr Colour black = RGB::monochrome(0);
9constexpr Colour grey = RGB::monochrome(7);
10constexpr Colour white_full = RGB::monochrome(255);
11constexpr Colour white = white_full.dim();
12constexpr Colour red = RGB(255, 0, 0);
13constexpr Colour red_dull = RGB(60, 15, 15);
14constexpr Colour red_orange = RGB(255, 64, 0);
15constexpr Colour orange = RGB(255, 128, 0);
16constexpr Colour yellow_orange = RGB(255, 160, 0);
17constexpr Colour yellow = RGB(255, 255, 0);
18constexpr Colour lime = RGB(128, 255, 0);
19constexpr Colour green = RGB(0, 255, 0);
20constexpr Colour turquoise = RGB(0, 255, 128);
21constexpr Colour cyan_full = RGB(0, 255, 255);
22constexpr Colour cyan = RGB(0, 128, 128);
23constexpr Colour darkblue = RGB(0, 128, 255);
24constexpr Colour blue = RGB(0, 0, 255);
25constexpr Colour purple = RGB(128, 0, 255);
26constexpr Colour magenta_full = RGB(255, 0, 255);
27constexpr Colour magenta = RGB(128, 0, 128);
28constexpr Colour magenta_dull = RGB(60, 15, 60);
29constexpr Colour pink_full = RGB(255, 128, 128);
30constexpr Colour pink = RGB(255, 44, 50);
31constexpr Colour amber = RGB(255, 48, 0);
32
33// These colours are used globally by the deluge
34constexpr Colour disabled = colours::red;
35constexpr Colour group_enabled = colours::green;
36constexpr Colour enabled = RGB(0, 255, 6);
37constexpr Colour muted = colours::yellow_orange;
38constexpr Colour midi_command = RGB(255, 80, 120);
39constexpr Colour midi_no_command = RGB::monochrome(60);
40constexpr Colour selected_drum = RGB(30, 30, 10);
41
42namespace pastel {
43constexpr Colour orange = RGB(221, 72, 13);
44constexpr Colour yellow = RGB(170, 182, 0);
45constexpr Colour green = RGB(85, 182, 72);
46constexpr Colour blue = RGB(51, 109, 145);
47constexpr Colour pink = RGB(144, 72, 91);
48
49// Custom Tail colours for Performance View by @seangoodvibes
50constexpr Colour orangeTail = RGB(46, 16, 2);
51constexpr Colour pinkTail = RGB(37, 15, 37);
52} // namespace pastel
53
59namespace kelly {
60constexpr Colour vivid_yellow = RGB(255, 179, 0);
61constexpr Colour strong_purple = RGB(128, 62, 117);
62constexpr Colour vivid_orange = RGB(255, 104, 0);
63constexpr Colour very_light_blue = RGB(166, 189, 215);
64constexpr Colour vivid_red = RGB(193, 0, 32);
65constexpr Colour grayish_yellow = RGB(206, 162, 98);
66constexpr Colour medium_gray = RGB(129, 112, 102);
67
68// these aren't good for people with defective colour vision:
69constexpr Colour vivid_green = RGB(0, 125, 52);
70constexpr Colour strong_purplish_pink = RGB(246, 118, 142);
71constexpr Colour strong_blue = RGB(0, 83, 138);
72constexpr Colour strong_yellowish_pink = RGB(255, 122, 92);
73constexpr Colour strong_violet = RGB(83, 55, 122);
74constexpr Colour vivid_orange_yellow = RGB(255, 142, 0);
75constexpr Colour strong_purplish_red = RGB(179, 40, 81);
76constexpr Colour vivid_greenish_yellow = RGB(244, 200, 0);
77constexpr Colour strong_reddish_brown = RGB(127, 24, 13);
78constexpr Colour vivid_yellowish_green = RGB(147, 170, 0);
79constexpr Colour deep_yellowish_brown = RGB(89, 51, 21);
80constexpr Colour vivid_reddish_orange = RGB(241, 58, 19);
81constexpr Colour dark_olive_green = RGB(35, 44, 22);
82} // namespace kelly
83
89namespace wad {
90constexpr Colour black = RGB(0, 0, 0);
91constexpr Colour dark_gray = RGB(87, 87, 87);
92constexpr Colour red = RGB(173, 35, 35);
93constexpr Colour blue = RGB(42, 75, 215);
94constexpr Colour green = RGB(29, 105, 20);
95constexpr Colour brown = RGB(129, 74, 25);
96constexpr Colour purple = RGB(129, 38, 192);
97constexpr Colour light_gray = RGB(160, 160, 160);
98constexpr Colour light_green = RGB(129, 197, 122);
99constexpr Colour light_blue = RGB(157, 175, 255);
100constexpr Colour cyan = RGB(41, 208, 208);
101constexpr Colour orange = RGB(255, 146, 51);
102constexpr Colour yellow = RGB(255, 238, 51);
103constexpr Colour tan = RGB(233, 222, 187);
104constexpr Colour pink = RGB(255, 205, 243);
105constexpr Colour white = RGB(255, 255, 255);
106
107} // namespace wad
108
109} // namespace deluge::gui::colours
This class represents the colour format most used by the Deluge globally.
Definition rgb.h:14
static constexpr RGB monochrome(uint8_t brightness)
Construct a monochrome (white) shade.
Definition rgb.h:45
These are from "Twenty-two Colours of Maximum Contrast" by Kelly.
Definition palette.h:59
These are from the "WAD" colour palette.
Definition palette.h:89