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

Dependents:   YATTT sd_map_test cPong SnowDemo ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers palGameboy.cpp Source File

palGameboy.cpp

00001 #include "PokittoPalettes.h"
00002 
00003 const unsigned char paletteGameboy[48] = {
00004 //original grayscale
00005 0xFF,0xFF,0xFF, //white
00006 0xAA,0xAA,0xAA, //light gray
00007 0x55,0x55,0x55, //dark gray
00008 0x00,0x00,0x00, //black
00009 //optimum color output
00010 0xed,0xed,0xff, //white
00011 0xff,0xcc,0xc1, //light gray
00012 0xff,0x00,0x00, //dark gray
00013 0x00,0x89,0x01, //black
00014 //red-green contrast
00015 //0xed,0xFf,0xea, //white edffea
00016 //0xff,0xb1,0xe2, //light gray efa1ce ffb1e2
00017 //0xb6,0x00,0x92, //dark gray b60092
00018 //0x5f,0x66,0x00, //black 5f6600
00019 
00020 //cyan-pink contrast
00021 //0xea,0xff,0xfd, //white
00022 //0xff,0xb1,0xe3, //light gray
00023 //0xb6,0x00,0x92, //dark gray
00024 //0x5a,0x1b,0x00, //black
00025 
00026 // sunset
00027 //0xff,0xa5,0x6e, //white
00028 //0xf5,0xb6,0xbb, //light gray
00029 //0xdb,0x28,0x5a, //dark gray
00030 //0x91,0x34,0x00, //black
00031 //cotton sky
00032 0x6f,0xe5,0xff, //white
00033 0xff,0xc8,0xb6, //light gray
00034 0xff,0x03,0x54, //dark gray
00035 0x12,0x00,0x38, //black
00036 // beautiful yellow,pink,red,brown color contrast
00037 0xFF,0xF2,0x91, //white  fff291
00038 0xf7,0xe0,0xd1, //light gray f7e0d1
00039 0xff,0x2d,0x61, //dark gray ff2d61
00040 0x72,0x58,0x0b, //black 72580b
00041 };
00042