FabGL
ESP32 Display Controller and Graphics Library

◆ Color

enum Color

This enum defines named colors.

First eight full implement all available colors when 1 bit per channel mode is used (having 8 colors).

Enumerator
Black 

Equivalent to RGB888(0,0,0)

Red 

Equivalent to RGB888(128,0,0)

Green 

Equivalent to RGB888(0,128,0)

Yellow 

Equivalent to RGB888(128,128,0)

Blue 

Equivalent to RGB888(0,0,128)

Magenta 

Equivalent to RGB888(128,0,128)

Cyan 

Equivalent to RGB888(0,128,128)

White 

Equivalent to RGB888(128,128,128)

BrightBlack 

Equivalent to RGB888(64,64,64)

BrightRed 

Equivalent to RGB888(255,0,0)

BrightGreen 

Equivalent to RGB888(0,255,0)

BrightYellow 

Equivalent to RGB888(255,255,0)

BrightBlue 

Equivalent to RGB888(0,0,255)

BrightMagenta 

Equivalent to RGB888(255,0,255)

BrightCyan 

Equivalent to RGB888(0,255,255)

BrightWhite 

Equivalent to RGB888(255,255,255)

Examples
VGA/Altair8800/Altair8800.ino, and VGA/HardwareTest/HardwareTest.ino.

Definition at line 202 of file displaycontroller.h.