Array access operator to index into the gradient entries.
- Parameters
-
- Returns
- reference to an entry in the palette's color array
- Note
- This does not perform any interpolation like ColorFromPalette(), it accesses the underlying entries that make up the gradient. Beware of bounds issues!
Definition at line 1872 of file colorutils.h.
1873 {
1875 }
CRGB entries[256]
the color entries that make up the palette
References entries, and x.