FastLED 3.9.15
Loading...
Searching...
No Matches
colorpalettes.cpp.hpp
Go to the documentation of this file.
1
3#define FASTLED_INTERNAL
4
5#include "fl/system/fastled.h"
6#include "colorutils.h"
7#include "colorpalettes.h"
13
16
25
28{
33
38
43
48};
49
52{
57
62
67
72};
73
74
77{
82
87
92
97};
98
101{
106
111
116
121};
122
125{
126 0xFF0000, 0xD52A00, 0xAB5500, 0xAB7F00,
127 0xABAB00, 0x56D500, 0x00FF00, 0x00D52A,
128 0x00AB55, 0x0056AA, 0x0000FF, 0x2A00D5,
129 0x5500AB, 0x7F0081, 0xAB0055, 0xD5002B
130};
131
133#define RainbowStripesColors_p RainbowStripeColors_p
134
137{
138 0xFF0000, 0x000000, 0xAB5500, 0x000000,
139 0xABAB00, 0x000000, 0x00FF00, 0x000000,
140 0x00AB55, 0x000000, 0x0000FF, 0x000000,
141 0x5500AB, 0x000000, 0xAB0055, 0x000000
142};
143
149{
150 0x5500AB, 0x84007C, 0xB5004B, 0xE5001B,
151 0xE81700, 0xB84700, 0xAB7700, 0xABAB00,
152 0xAB5500, 0xDD2200, 0xF2000E, 0xC2003E,
153 0x8F0071, 0x5F00A1, 0x2F00D0, 0x0007F9
154};
155
163{
164 0x000000,
165 0x330000, 0x660000, 0x990000, 0xCC0000, 0xFF0000,
166 0xFF3300, 0xFF6600, 0xFF9900, 0xFFCC00, 0xFFFF00,
167 0xFFFF33, 0xFFFF66, 0xFFFF99, 0xFFFFCC, 0xFFFFFF
168};
169
170
175 0, 255, 0, 0, // Red
176 32, 171, 85, 0, // Orange
177 64, 171, 171, 0, // Yellow
178 96, 0, 255, 0, // Green
179 128, 0, 171, 85, // Aqua
180 160, 0, 0, 255, // Blue
181 192, 85, 0, 171, // Purple
182 224, 171, 0, 85, // Pink
183 255, 255, 0, 0};// and back to Red
184
Declarations for the predefined color palettes supplied by FastLED.
#define DEFINE_GRADIENT_PALETTE(X)
fl::u32 TProgmemRGBPalette16[16]
CRGBPalette16 entries stored in PROGMEM memory.
#define FL_PROGMEM
PROGMEM keyword for storage.
Internal FastLED header for implementation files.
const TProgmemRGBPalette16 RainbowStripeColors_p
HSV Rainbow colors with alternatating stripes of black.
const TProgmemRGBPalette16 OceanColors_p
Ocean colors, blues and whites.
const TProgmemRGBPalette16 CloudColors_p
Cloudy color palette.
const TProgmemRGBPalette16 HeatColors_p
Approximate "black body radiation" palette, akin to the FastLED HeatColor() function.
const TProgmemRGBPalette16 ForestColors_p
Forest colors, greens.
const TProgmemRGBPalette16 LavaColors_p
Lava color palette.
const TProgmemRGBPalette16 PartyColors_p
HSV color ramp: blue, purple, pink, red, orange, yellow (and back).
const TProgmemRGBPalette16 RainbowColors_p
HSV Rainbow.
@ LightGreen
<div style='background:#90EE90;width:4em;height:4em;'></div>
Definition crgb.h:574
@ DarkGreen
<div style='background:#006400;width:4em;height:4em;'></div>
Definition crgb.h:529
@ SeaGreen
<div style='background:#2E8B57;width:4em;height:4em;'></div>
Definition crgb.h:628
@ MidnightBlue
<div style='background:#191970;width:4em;height:4em;'></div>
Definition crgb.h:598
@ ForestGreen
<div style='background:#228B22;width:4em;height:4em;'></div>
Definition crgb.h:550
@ Green
<div style='background:#008000;width:4em;height:4em;'></div>
Definition crgb.h:558
@ OliveDrab
<div style='background:#6B8E23;width:4em;height:4em;'></div>
Definition crgb.h:606
@ Red
<div style='background:#FF0000;width:4em;height:4em;'></div>
Definition crgb.h:622
@ SkyBlue
<div style='background:#87CEEB;width:4em;height:4em;'></div>
Definition crgb.h:632
@ CadetBlue
<div style='background:#5F9EA0;width:4em;height:4em;'></div>
Definition crgb.h:516
@ Orange
<div style='background:#FFA500;width:4em;height:4em;'></div>
Definition crgb.h:607
@ DarkCyan
<div style='background:#008B8B;width:4em;height:4em;'></div>
Definition crgb.h:525
@ YellowGreen
<div style='background:#9ACD32;width:4em;height:4em;'></div>
Definition crgb.h:649
@ Teal
<div style='background:#008080;width:4em;height:4em;'></div>
Definition crgb.h:640
@ LightSkyBlue
<div style='background:#87CEFA;width:4em;height:4em;'></div>
Definition crgb.h:579
@ Blue
<div style='background:#0000FF;width:4em;height:4em;'></div>
Definition crgb.h:512
@ DarkBlue
<div style='background:#00008B;width:4em;height:4em;'></div>
Definition crgb.h:524
@ Maroon
<div style='background:#800000;width:4em;height:4em;'></div>
Definition crgb.h:588
@ Aquamarine
<div style='background:#7FFFD4;width:4em;height:4em;'></div>
Definition crgb.h:506
@ White
<div style='background:#FFFFFF;width:4em;height:4em;'></div>
Definition crgb.h:646
@ Navy
<div style='background:#000080;width:4em;height:4em;'></div>
Definition crgb.h:603
@ LawnGreen
<div style='background:#7CFC00;width:4em;height:4em;'></div>
Definition crgb.h:568
@ LightBlue
<div style='background:#ADD8E6;width:4em;height:4em;'></div>
Definition crgb.h:570
@ MediumBlue
<div style='background:#0000CD;width:4em;height:4em;'></div>
Definition crgb.h:590
@ DarkRed
<div style='background:#8B0000;width:4em;height:4em;'></div>
Definition crgb.h:535
@ MediumAquamarine
<div style='background:#66CDAA;width:4em;height:4em;'></div>
Definition crgb.h:589
@ Black
<div style='background:#000000;width:4em;height:4em;'></div>
Definition crgb.h:510
@ LimeGreen
<div style='background:#32CD32;width:4em;height:4em;'></div>
Definition crgb.h:585
@ CornflowerBlue
<div style='background:#6495ED;width:4em;height:4em;'></div>
Definition crgb.h:520
@ Aqua
<div style='background:#00FFFF;width:4em;height:4em;'></div>
Definition crgb.h:505
@ DarkOliveGreen
<div style='background:#556B2F;width:4em;height:4em;'></div>
Definition crgb.h:532