FastLED 3.9.7
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.
Utility functions for color fill, palettes, blending, and more.
#define DEFINE_GRADIENT_PALETTE(X)
Defines a static RGB palette very compactly using a series of connected color gradients.
Definition colorutils.h:66
uint32_t TProgmemRGBPalette16[16]
CRGBPalette16 entries stored in PROGMEM memory.
Definition colorutils.h:76
#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.
Implements the FastLED namespace macros.
#define FASTLED_USING_NAMESPACE
"Using" directive for the namespace
Definition namespace.h:18
@ DarkRed
Definition crgb.h:521
@ Aquamarine
Definition crgb.h:492
@ White
Definition crgb.h:632
@ Orange
Definition crgb.h:593
@ Teal
Definition crgb.h:626
@ MediumAquamarine
Definition crgb.h:575
@ LawnGreen
Definition crgb.h:554
@ Aqua
Definition crgb.h:491
@ YellowGreen
Definition crgb.h:635
@ Green
Definition crgb.h:544
@ CornflowerBlue
Definition crgb.h:506
@ SkyBlue
Definition crgb.h:618
@ Navy
Definition crgb.h:589
@ MidnightBlue
Definition crgb.h:584
@ SeaGreen
Definition crgb.h:614
@ LimeGreen
Definition crgb.h:571
@ LightGreen
Definition crgb.h:560
@ Blue
Definition crgb.h:498
@ Red
Definition crgb.h:608
@ LightSkyBlue
Definition crgb.h:565
@ MediumBlue
Definition crgb.h:576
@ Black
Definition crgb.h:496
@ CadetBlue
Definition crgb.h:502
@ OliveDrab
Definition crgb.h:592
@ DarkOliveGreen
Definition crgb.h:518
@ LightBlue
Definition crgb.h:556
@ ForestGreen
Definition crgb.h:536
@ DarkCyan
Definition crgb.h:511
@ DarkGreen
Definition crgb.h:515
@ DarkBlue
Definition crgb.h:510
@ Maroon
Definition crgb.h:574