FabGL
ESP32 Display Controller and Graphics Library
|
void setPaletteItem | ( | int | index, |
RGB888 const & | color | ||
) |
Determines color of specified palette item.
index | Palette item (0..15) |
color | Color to assign to this item |
Example:
// Color item 0 is pure Red displayController.setPaletteItem(0, RGB888(255, 0, 0));
Definition at line 109 of file vga16controller.cpp.