Commodore 64 color codes


Color number key CHR$ char name HTML
 Black  0 CTRL 1 144 $90 small square left down #000000
 White  1 CTRL 2 5 $05 inverted e #ffffff
 Red  2 CTRL 3 28 $1C inverted pound #924a40
 Cyan  3 CTRL 4 159 $9F triangle left down #84c5cc
 Purple  4 CTRL 5 156 $9C inverted halfchess #9351b6
 Green  5 CTRL 6 30 $1E inverted arrow up #72b14b
 Blue  6 CTRL 7 31 $1F inverted arrow left #483aaa
 Yellow  7 CTRL 8 158 $9E inverted pi #d5df7c
 Orange  8 C= 1 129 $81 inverted spade #99692d
 Brown  9 C= 2 149 $95 inverted arc down and right #675200
 Lightred  10 C= 3 150 $96 diagonal cross #c18178
 Grey1  11 C= 4 151 $97 inverted annulus #606060
 Grey2  12 C= 5 152 $98 inverted club #8a8a8a
 Lightgreen  13 C= 6 153 $99 inverted line right #b3ec91
 Lightblue  14 C= 7 154 $9A inverted diamond #867ade
 Grey3  15 C= 8 155 $9B vertical and horizontal #b3b3b3


c64-color-codes

The following basic program shows off the C64 color codes
It is Base64 encoded

You can base64 decode it many ways. You can even do it online here http://www.motobit.com/util/base64-decoder-encoder.asp
Filename: “colortab.prg”

AQgLCAAAmSKTIjsAOwgBAJkik0tFWSAgICAgQ09MT1IgICAgICAgICBQT0tFICBDSFIkKCApIEFT
QyIAawgCAJkil6ioqCAgICAgqKioqKggICAgICAgICCoqKioICCoqKioqKioIKioqCIAlwgKAJki
mkNUUkwgMSCQIEJMQUNLICCaICAgICAgICAgMCAgICAgMTQ0IgDDCBQAmSKaQ1RSTCAyIAUgV0hJ
VEUgIJogICAgICAgICAxICAgICAgIDUiAO8IHgCZIppDVFJMIDMgHCBSRUQgICAgmiAgICAgICAg
IDIgICAgICAyOCIAGwkoAJkimkNUUkwgNCCfIENZQU4gICCaICAgICAgICAgMyAgICAgMTU5IgBH
CTIAmSKaQ1RSTCA1IJwgUFVSUExFIJogICAgICAgICA0ICAgICAxNTYiAHMJPACZIppDVFJMIDYg
HiBHUkVFTiAgmiAgICAgICAgIDUgICAgICAzMCIAoQlGAJkimkNUUkwgNyASmiBCTFVFICAgkpog
ICAgICAgICA2ICAgICAgMzEiAM0JUACZIppDVFJMIDggniBZRUxMT1cgmiAgICAgICAgIDcgICAg
IDE1OCIA+QlaAJkimiBDPSAgMSCBIE9SQU5HRSCaICAgICAgICAgOCAgICAgMTI5IgAlCmQAmSKa
IEM9ICAyIJUgQlJPV04gmiAgICAgICAgICA5ICAgICAxNDkiAFEKbgCZIpogQz0gIDMgliBMSUdI
VCBSRUQgmiAgICAgMTAgICAgIDE1MCIAfQp4AJkimiBDPSAgNCCXIEdSRVkxIJogICAgICAgICAx
MSAgICAgMTUxIgCpCoIAmSKaIEM9ICA1IJggR1JFWTIgmiAgICAgICAgIDEyICAgICAxNTIiANUK
jACZIpogQz0gIDYgmSBMSUdIVCBHUkVFTiCaICAgMTMgICAgIDE1MyIAAQuWAJkimiBDPSAgNyCa
IExJR0hUIEJMVUUgmiAgICAxNCAgICAgMTU0IgAtC6AAmSKaIEM9ICA4IJsgR1JFWTMgmiAgICAg
ICAgIDE1ICAgICAxNTUiADwLyACXIDExNDEsMjA4AEsL0gCXIDExODEsMTMzAFoL3ACXIDEyMjEs
MTU2AGkL5gCXIDEyNjEsMjIzAHgL8ACXIDEzMDEsMjIwAIcL+gCXIDEzNDEsMTU4AJYLBAGXIDEz
ODEsMTU5AKULDgGXIDE0MjEsMjIyALQLGAGXIDE0NjEsMTkzAMMLIgGXIDE1MDEsMjEzANILLAGX
IDE1NDEsMjE0AOELNgGXIDE1ODEsMjE1APALQAGXIDE2MjEsMjE2AP8LSgGXIDE2NjEsMjE3AA4M
VAGXIDE3MDEsMjE4AB0MXgGXIDE3NDEsMjE5ACMM5wOZAAAA
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s