Effects and Palettes
An effect decides how the colours move; a palette decides which colours it moves through. They are independent choices, and most of WLED's variety is the product of the two: a few hundred effects, dozens of palettes, three colour slots per segment to feed them.
The effects, counted honestly
Marketing pages say "over 100 effects". This guide counted, in the source of the version it built (16.0.1):
- The effect table (
MODE_COUNTinwled00/FX.h) has 220 slots, numbered 0–219, and the device's own info reply reportsfxcount: 220. - 216 slots hold a working effect, starting with number 0, Solid — no movement, just the colour, the effect every strip should be understood through first.
- 4 slots (142, 169, 170, 171) are
empty on purpose. The code fills
them with the placeholder
RSVD. The source even confesses for three of them: old 2D effects that "have been removed … because of low mem but should be added back". The gaps are kept so effect numbers never change meaning — a preset saved against effect 74 in 2021 still gets effect 74 today.
The list runs from the nearly-still (Breath, Fade, a candle-like Flicker family) through the processional classics (Wipe, Sweep, Rainbow, Rainbow Cycle, Chase, Running, Twinkle) to the noisy end: FastLED's noise effects, "PS"-prefixed particle systems, and a 2D family for matrices (Fire 2012's descendants, a Game of Life, plasma and pool effects). A handful are audio reactive in builds that include the audioreactive usermod — they listen on a microphone and need the hardware to match; on a build without it, they simply are not in your list, which is another reason effect counts vary between installs.
Every effect wears its controls in its
metadata (chapter 2 showed Blink's).
Speed and intensity are universal;
beyond that, effects add their own
sliders, checkboxes and dropdowns, up
to three custom values (c1, c2,
c3 in the API). If a control's label
ever puzzles you, the effect's own
sliders in the UI are the documentation
the project maintains — there is no
separate manual per effect, and after
counting 216 of them you will forgive
that.
The palettes, counted the same way
A palette is a ramp of colours an
effect interpolates along. The built-in
set, counted in wled00/const.h and
palettes.cpp:
| Group | Count | Numbers | What they are |
|---|---|---|---|
| Dynamic | 6 | 0–5 | Built from your own colours: palette 0 ("Default") means "use the segment's colour slots", 1 is a random cycle, 2–5 blend the primary/secondary/tertiary slots |
| FastLED | 7 | 6–12 | The classic FastLED library ramps |
| Gradient | 59 | 13–71 | Named ramps defined as gradient stops in the source — Sunset Real, Atlantica, Traffic Light and 56 more |
| Total built in | 72 | 0–71 | What palcount reports on a stock build |
On top of the 72, you can define your
own: custom palettes are JSON files
(palette0.json … ) uploaded to the
device, edited with the built-in
palette editor, and numbered from 200
downward (palette0 is ID 200,
palette1 is 199) — the source reserves
IDs 201–255 for usermod-registered
palettes. Home Assistant users take
note: only the built-in 72 appear in
its palette selector; custom ones must
be set by number through the API.
Putting them together
Effect + palette + colours is a small language. "Rainbow" with the Default palette cycles everything; "Fire" with a blue-green gradient palette becomes an aquarium shimmer; a sedate Wipe with a two-colour dynamic palette is a corporate lobby. When you find a sentence in that language that you like, that is precisely what a preset (chapter 10) is for: the combination, frozen, named, and one tap away.