Colors

Default

Colors are of int type. You can use default KGFX or TFT_eSPI colors.

KGFXTFT_eSPI
K_GREENTFT_BLACK
K_REDTFT_NAVY
TFT_DARKGREEN
TFT_DARKCYAN
TFT_MAROON
TFT_PURPLE
TFT_OLIVE
TFT_LIGHTGREY
TFT_DARKGREY
TFT_BLUE
TFT_GREEN
TFT_CYAN
TFT_RED
TFT_MAGENTA
TFT_YELLOW
TFT_WHITE
TFT_ORANGE
TFT_GREENYELLOW
TFT_PINK
TFT_BROWN
TFT_GOLD
TFT_SILVER
TFT_SKYBLUE
TFT_VIOLET

You can also declare your own colors:

#define GREEN 0x0240