FastLED 3.9.3
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 "namespace.h"
9
10FASTLED_USING_NAMESPACE
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.
@ DarkRed
Definition crgb.h:504
@ Aquamarine
Definition crgb.h:475
@ White
Definition crgb.h:615
@ Orange
Definition crgb.h:576
@ Teal
Definition crgb.h:609
@ MediumAquamarine
Definition crgb.h:558
@ LawnGreen
Definition crgb.h:537
@ Aqua
Definition crgb.h:474
@ YellowGreen
Definition crgb.h:618
@ Green
Definition crgb.h:527
@ CornflowerBlue
Definition crgb.h:489
@ SkyBlue
Definition crgb.h:601
@ Navy
Definition crgb.h:572
@ MidnightBlue
Definition crgb.h:567
@ SeaGreen
Definition crgb.h:597
@ LimeGreen
Definition crgb.h:554
@ LightGreen
Definition crgb.h:543
@ Blue
Definition crgb.h:481
@ Red
Definition crgb.h:591
@ LightSkyBlue
Definition crgb.h:548
@ MediumBlue
Definition crgb.h:559
@ Black
Definition crgb.h:479
@ CadetBlue
Definition crgb.h:485
@ OliveDrab
Definition crgb.h:575
@ DarkOliveGreen
Definition crgb.h:501
@ LightBlue
Definition crgb.h:539
@ ForestGreen
Definition crgb.h:519
@ DarkCyan
Definition crgb.h:494
@ DarkGreen
Definition crgb.h:498
@ DarkBlue
Definition crgb.h:493
@ Maroon
Definition crgb.h:557
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.