FastLED 3.9.15
Loading...
Searching...
No Matches
colorpalettes.cpp
Go to the documentation of this file.
1
3#define FASTLED_INTERNAL
4
5#include "FastLED.h"
6#include "colorutils.h"
7#include "colorpalettes.h"
8#include "fl/namespace.h"
9
11
17
20
29
32{
37
42
47
52};
53
56{
61
66
71
76};
77
78
81{
86
91
96
101};
102
105{
110
115
120
125};
126
129{
130 0xFF0000, 0xD52A00, 0xAB5500, 0xAB7F00,
131 0xABAB00, 0x56D500, 0x00FF00, 0x00D52A,
132 0x00AB55, 0x0056AA, 0x0000FF, 0x2A00D5,
133 0x5500AB, 0x7F0081, 0xAB0055, 0xD5002B
134};
135
137#define RainbowStripesColors_p RainbowStripeColors_p
138
141{
142 0xFF0000, 0x000000, 0xAB5500, 0x000000,
143 0xABAB00, 0x000000, 0x00FF00, 0x000000,
144 0x00AB55, 0x000000, 0x0000FF, 0x000000,
145 0x5500AB, 0x000000, 0xAB0055, 0x000000
146};
147
153{
154 0x5500AB, 0x84007C, 0xB5004B, 0xE5001B,
155 0xE81700, 0xB84700, 0xAB7700, 0xABAB00,
156 0xAB5500, 0xDD2200, 0xF2000E, 0xC2003E,
157 0x8F0071, 0x5F00A1, 0x2F00D0, 0x0007F9
158};
159
167{
168 0x000000,
169 0x330000, 0x660000, 0x990000, 0xCC0000, 0xFF0000,
170 0xFF3300, 0xFF6600, 0xFF9900, 0xFFCC00, 0xFFFF00,
171 0xFFFF33, 0xFFFF66, 0xFFFF99, 0xFFFFCC, 0xFFFFFF
172};
173
174
179 0, 255, 0, 0, // Red
180 32, 171, 85, 0, // Orange
181 64, 171, 171, 0, // Yellow
182 96, 0, 255, 0, // Green
183 128, 0, 171, 85, // Aqua
184 160, 0, 0, 255, // Blue
185 192, 85, 0, 171, // Purple
186 224, 171, 0, 85, // Pink
187 255, 255, 0, 0};// and back to Red
188
central include file for FastLED, defines the CFastLED class/object
Declarations for the predefined color palettes supplied by FastLED.
#define DEFINE_GRADIENT_PALETTE(X)
Defines a static RGB palette very compactly using a series of connected color gradients.
Definition colorutils.h:102
uint32_t TProgmemRGBPalette16[16]
CRGBPalette16 entries stored in PROGMEM memory.
#define FL_PROGMEM
PROGMEM keyword for storage.
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.
#define FASTLED_USING_NAMESPACE
Definition namespace.h:30
Implements the FastLED namespace macros.
@ DarkRed
<div style='background:#8B0000;width:4em;height:4em;'></div>
Definition crgb.h:529
@ Aquamarine
<div style='background:#7FFFD4;width:4em;height:4em;'></div>
Definition crgb.h:500
@ White
<div style='background:#FFFFFF;width:4em;height:4em;'></div>
Definition crgb.h:640
@ Orange
<div style='background:#FFA500;width:4em;height:4em;'></div>
Definition crgb.h:601
@ Teal
<div style='background:#008080;width:4em;height:4em;'></div>
Definition crgb.h:634
@ MediumAquamarine
<div style='background:#66CDAA;width:4em;height:4em;'></div>
Definition crgb.h:583
@ LawnGreen
<div style='background:#7CFC00;width:4em;height:4em;'></div>
Definition crgb.h:562
@ Aqua
<div style='background:#00FFFF;width:4em;height:4em;'></div>
Definition crgb.h:499
@ YellowGreen
<div style='background:#9ACD32;width:4em;height:4em;'></div>
Definition crgb.h:643
@ Green
<div style='background:#008000;width:4em;height:4em;'></div>
Definition crgb.h:552
@ CornflowerBlue
<div style='background:#6495ED;width:4em;height:4em;'></div>
Definition crgb.h:514
@ SkyBlue
<div style='background:#87CEEB;width:4em;height:4em;'></div>
Definition crgb.h:626
@ Navy
<div style='background:#000080;width:4em;height:4em;'></div>
Definition crgb.h:597
@ MidnightBlue
<div style='background:#191970;width:4em;height:4em;'></div>
Definition crgb.h:592
@ SeaGreen
<div style='background:#2E8B57;width:4em;height:4em;'></div>
Definition crgb.h:622
@ LimeGreen
<div style='background:#32CD32;width:4em;height:4em;'></div>
Definition crgb.h:579
@ LightGreen
<div style='background:#90EE90;width:4em;height:4em;'></div>
Definition crgb.h:568
@ Blue
<div style='background:#0000FF;width:4em;height:4em;'></div>
Definition crgb.h:506
@ Red
<div style='background:#FF0000;width:4em;height:4em;'></div>
Definition crgb.h:616
@ LightSkyBlue
<div style='background:#87CEFA;width:4em;height:4em;'></div>
Definition crgb.h:573
@ MediumBlue
<div style='background:#0000CD;width:4em;height:4em;'></div>
Definition crgb.h:584
@ Black
<div style='background:#000000;width:4em;height:4em;'></div>
Definition crgb.h:504
@ CadetBlue
<div style='background:#5F9EA0;width:4em;height:4em;'></div>
Definition crgb.h:510
@ OliveDrab
<div style='background:#6B8E23;width:4em;height:4em;'></div>
Definition crgb.h:600
@ DarkOliveGreen
<div style='background:#556B2F;width:4em;height:4em;'></div>
Definition crgb.h:526
@ LightBlue
<div style='background:#ADD8E6;width:4em;height:4em;'></div>
Definition crgb.h:564
@ ForestGreen
<div style='background:#228B22;width:4em;height:4em;'></div>
Definition crgb.h:544
@ DarkCyan
<div style='background:#008B8B;width:4em;height:4em;'></div>
Definition crgb.h:519
@ DarkGreen
<div style='background:#006400;width:4em;height:4em;'></div>
Definition crgb.h:523
@ DarkBlue
<div style='background:#00008B;width:4em;height:4em;'></div>
Definition crgb.h:518
@ Maroon
<div style='background:#800000;width:4em;height:4em;'></div>
Definition crgb.h:582