I did some research on C64 Colour Palette, and didn't expect the amount of confusion that I encountered; Mainly due to manner in which many of the emulators derived their palettes.
So far this was the closest that I have found to the original. (Of course keeping in mind various modern displays and gamma settings).
This resource-link had so much technical data/computations on "Commodore VIC-II Color Analysis", that it would be difficult for me to dispute it's validity.
http://unusedino.de/ec64/technical/misc/vic656x/colors/
But... Just as in the post from Blitz forums (where I obtained the current values I am using), I too thought that the C64 Red was more... well, Red. But, I do remember the colors being a bit muddy as well. I may have to hook up my C128 to confirm. Does anyone else have a better conversion to RGB for C64 palette?? Not a grab from an emulator, but a more precise conversion based off the original specs. I'll post the DBp code and part of the blitz forum discussion I finally decide to go with.
My DBpro C64 Colour Palette test
sync on
sync rate 60
type ColourType
ARGB as dword
endtype
dim C64Colours(15) as ColourType
C64Colours(0).ARGB = 0xFF000000
C64Colours(1).ARGB = 0xFFFFFFFF
C64Colours(2).ARGB = 0xFF744335
C64Colours(3).ARGB = 0xFF7CACBA
C64Colours(4).ARGB = 0xFF7B4890
C64Colours(5).ARGB = 0xFF64974F
C64Colours(6).ARGB = 0xFF403285
C64Colours(7).ARGB = 0xFFBFCD7A
C64Colours(8).ARGB = 0xFF7B5B2F
C64Colours(9).ARGB = 0xFF4F4500
C64Colours(10).ARGB = 0xFFA37265
C64Colours(11).ARGB = 0xFF505050
C64Colours(12).ARGB = 0xFF787878
C64Colours(13).ARGB = 0xFFA4D78E
C64Colours(14).ARGB = 0xFF786ABD
C64Colours(15).ARGB = 0xFF9F9F9F
set text opaque
for i=0 to 15
for j=0 to 15
ink C64Colours(j).ARGB, C64Colours(i).ARGB
print "XX:XX";
next j
print
next i
print
for i=0 to 15
ink C64Colours(0).ARGB, C64Colours(i).ARGB
print " ";:
next i
sync
sync
wait key
From a Blitz Forum Discussion
to be honest this looks a bit better on my screen (perhaps suggesting my gamma isn't perfect). This also looks a lot better than the emulator colours imho. Here's the hex:
C64Colours(0) = $000000
C64Colours(1) = $FFFFFF
C64Colours(2) = $744335
C64Colours(3) = $7CACBA
C64Colours(4) = $7B4890
C64Colours(5) = $64974F
C64Colours(6) = $403285
C64Colours(7) = $BFCD7A
C64Colours(8) = $7B5B2F
C64Colours(9) = $4f4500
C64Colours(10) = $a37265
C64Colours(11) = $505050
C64Colours(12) = $787878
C64Colours(13) = $a4d78e
C64Colours(14) = $786abd
C64Colours(15) = $9f9f9f
That's more the way I remember it, with that orange being not bright (more brown), the red being dark, the cyan was never cyan (like the spectrum) it was always a pastelly blue. Also the purple was "purple" not magenta (that's a spectrum colour again). The yellow was never bright yellow like 255,255,0 it was different.
Those hex values were derived from this RGB conversion from vicII Color Analysis link.
http://unusedino.de/ec64/technical/misc/vic656x/colors/
OK, to try better colours, someone please convert the numbers in brackets to Hex so there are 16*3 (48) of them and repost as $rrggbb and I'll post a new screenie (well forget the first two (black and white).
# name r g b
0 black 0,0 ( 0) 0,0 ( 0) 0,0 ( 0)
1 white 255,0 (255) 255,0 (255) 255,0 (255)
2 red 115,5056370133016413 (116) 66,58650018832567614 ( 67) 53,28138539871917648 ( 53)
3 cyan 123,5568629866983587 (124) 172,4759998116743239 (172) 185,7811146012808235 (186)
4 purple 123,0390152263466744 (123) 72,13070800338535009 ( 72) 144,417137626541581 (144)
5 green 100,0859847736533256 (100) 150,9942919966146499 (151) 78,70786237345841898 ( 79)
6 blue 63,75 ( 64) 50,2827791540772 ( 50) 132,7525027686297 (133)
7 yellow 191,25 (191) 204,7172208459228 (205) 122,2474972313703 (122)
8 orange 123,0390152263466744 (123) 91,17623437116303968 ( 91) 46,83286237345841898 ( 47)
9 brown 78,5863581298472838 ( 79) 68,63075279282998076 ( 69) 0,00000000000962268 ( 0)
A light red 163,3181370133016413 (163) 114,3990001883256761 (114) 101,0938853987191765 (101)
B dark grey 79,6875 ( 80) 79,6875 ( 80) 79,6875 ( 80)
C grey 119,53125 (120) 119,53125 (120) 119,53125 (120)
D light green 163,8359847736533256 (164) 214,7442919966146499 (215) 142,457862373458419 (142)
E light blue 119,53125 (120) 106,0640291540772 (106) 188,5337527686297 (189)
F light grey 159,375 (159) 159,375 (159) 159,375 (159)
*Note: I wasn't sure if it was ok to provide a link to the Blitz Forums. If it is ok to do so, merely for completeness of the discussion... I will post the entire link. (If a MOD sees this and says it's ok, of course)
Your signature has been erased by a mod please reduce it to 600 x 120.