PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

Dependents:   Sensitive

Fork of PokittoLib by Jonne Valola

POKITTO_CORE/PALETTES/palGameboy.cpp

Committer:
spinal
Date:
2017-10-18
Revision:
15:0bbe8f6fae32
Parent:
0:e8b8f36b4505

File content as of revision 15:0bbe8f6fae32:

#include "PokittoPalettes.h"

const unsigned char paletteGameboy[48] = {
//original grayscale
0xFF,0xFF,0xFF, //white
0xAA,0xAA,0xAA, //light gray
0x55,0x55,0x55, //dark gray
0x00,0x00,0x00, //black
//optimum color output
0xed,0xed,0xff, //white
0xff,0xcc,0xc1, //light gray
0xff,0x00,0x00, //dark gray
0x00,0x89,0x01, //black
//red-green contrast
//0xed,0xFf,0xea, //white edffea
//0xff,0xb1,0xe2, //light gray efa1ce ffb1e2
//0xb6,0x00,0x92, //dark gray b60092
//0x5f,0x66,0x00, //black 5f6600

//cyan-pink contrast
//0xea,0xff,0xfd, //white
//0xff,0xb1,0xe3, //light gray
//0xb6,0x00,0x92, //dark gray
//0x5a,0x1b,0x00, //black

// sunset
//0xff,0xa5,0x6e, //white
//0xf5,0xb6,0xbb, //light gray
//0xdb,0x28,0x5a, //dark gray
//0x91,0x34,0x00, //black
//cotton sky
0x6f,0xe5,0xff, //white
0xff,0xc8,0xb6, //light gray
0xff,0x03,0x54, //dark gray
0x12,0x00,0x38, //black
// beautiful yellow,pink,red,brown color contrast
0xFF,0xF2,0x91, //white  fff291
0xf7,0xe0,0xd1, //light gray f7e0d1
0xff,0x2d,0x61, //dark gray ff2d61
0x72,0x58,0x0b, //black 72580b
};