|
FabGL
ESP32 Display Controller and Graphics Library
|
| void fabgl::VGA2Controller::setPaletteItem | ( | int | index, |
| RGB888 const & | color | ||
| ) |
Determines color of specified palette item.
| index | Palette item (0..1) |
| color | Color to assign to this item |
Example:
// Color item 0 is pure Red displayController.setPaletteItem(0, RGB(255, 0, 0));