Re added old C9 palette

This commit is contained in:
cschwinne
2020-11-01 20:54:35 +01:00
parent afe75f8a89
commit aa27b85538
4 changed files with 29 additions and 12 deletions

View File

@@ -13,7 +13,7 @@
#ifndef PalettesWLED_h
#define PalettesWLED_h
#define GRADIENT_PALETTE_COUNT 40
#define GRADIENT_PALETTE_COUNT 41
const byte ib_jul01_gp[] PROGMEM = {
0, 194, 1, 1,
@@ -551,14 +551,14 @@ const byte Orangery_gp[] PROGMEM = {
//inspired by Mark Kriegsman https://gist.github.com/kriegsman/756ea6dcae8e30845b5a
const byte C9_gp[] PROGMEM = {
0, 255, 5, 0, //red
60, 255, 5, 0,
60, 196, 57, 2, //amber (start 61?)
120, 196, 57, 2,
120, 6, 126, 2, //green (start 126?)
180, 6, 126, 2,
180, 4, 30, 114, //blue (start 191?)
255, 4, 30, 114};
0, 184, 4, 0, //red
60, 184, 4, 0,
65, 144, 44, 2, //amber
125, 144, 44, 2,
130, 4, 96, 2, //green
190, 4, 96, 2,
195, 7, 7, 88, //blue
255, 7, 7, 88};
const byte Sakura_gp[] PROGMEM = {
0, 196, 19, 10,
@@ -594,6 +594,17 @@ const byte Atlantica_gp[] PROGMEM = {
180, 196, 57, 2,
180, 137, 85, 2, //yellow
255, 137, 85, 2};
//C9, but brighter and with a less purple blue
const byte C9_new_gp[] PROGMEM = {
0, 255, 5, 0, //red
60, 255, 5, 0,
60, 196, 57, 2, //amber (start 61?)
120, 196, 57, 2,
120, 6, 126, 2, //green (start 126?)
180, 6, 126, 2,
180, 4, 30, 114, //blue (start 191?)
255, 4, 30, 114};
// Single array of defined cpt-city color palettes.
@@ -640,7 +651,8 @@ const byte* const gGradientPalettes[] PROGMEM = {
Sakura_gp, //49-36 Sakura
Aurora_gp, //50-37 Aurora
Atlantica_gp, //51-38 Atlantica
C9_2_gp //52-39 C9 2
C9_2_gp, //52-39 C9 2
C9_new_gp //53-40 C9 New
};
#endif