steffest / DPaint-js

Webbased image editor, modeled after the legendary Deluxe Paint with a focus on retro Amiga file formats: read and write Amiga icon files and IFF ILBM images
https://www.stef.be/dpaint/
MIT License
486 stars 28 forks source link

Feature/c64 palette #34

Open bpstudio opened 2 months ago

bpstudio commented 2 months ago

Added the 16 colour palette of Commodore 64.

steffest commented 2 months ago

Thanks for the PR! Didn't we have that already? Nailing down the exact RGB values of the C64 can get complicated very quickly, so I opted for the "Pepto" one, as documented in https://www.pepto.de/projects/colorvic/2001/

image

Maybe I should make it more clear, those are in fact the Commodore 64 colors

(and out of laziness from my side, those are defined directly in the code @ https://github.com/steffest/DPaint-js/blob/master/_script/ui/palette.js , not in a separate JSON file)