Color gb.createColor( uint8_t red , uint8_t green , uint8_t blue )
gb.createColor creates a variable of type Color based on common RGB values.
Color: the RGB565 color which is closest to the one provided
#include <Gamebuino-Meta.h>void setup() { gb.begin(); }
void loop() { while(!gb.update()); gb.display.clear();
// create the color (#FFC526, some shade of orange) Color c = gb.createColor(255, 197, 38); gb.display.setColor(c); gb.display.println("Hello World"); }