Looks through pret/pokecrystal to find every colour used in Pokémon Crystal.
This is a rough afternoon of work and aims to:
- Catch all RGB colours used in palettes inside
.pal
and.asm
files - Only analyse coloured
.png
files as a lot of.png
files are greyscale and have palettes applied to them.
Note:
- While a colour might be referenced once, it could be used many more times as a palette that gets applied to many tiles
- For example, I think the mart is using the eight special colours from house.pal which I think gets used in other places too.
- These are converted from the 5 bit RGB GBC values to 8 bit RGB values.
Try it now now on GitHub Pages!
Each colour square is a colour found in Pokémon Crystal with the top left showing how many places refer to it.
You can click on a colour to show where the references
The data is gathered via the .NET code in the src folder. A quick and dirty piece of code that analyses the pokecrystal folders looking for colour references and ultimately turns the results into JSON. The following outputs are:
- AllColours.json is the JSON output of each colour and associated location
- CrystalPalette a visual, simple view of all 1599 colours
All 1599 colours, roughly ordered.
- Uses d3.js for visualisations.
- There might be something I'm missing, but I'd say most colours are accounted for - but pretty fun for an afternoon!