C64 colouring


The C64 can display 16 colours. These colours can be set by using POKE commands to set the colour of the background, text, and sprites.

Colour codes

Colour namePOKEkeyHEX colour
Black0CTRL  + 1#000000
White1CTRL  + 2#FFFFFF
Red2CTRL  + 3#880000
Cyan3CTRL  + 4#AAFFEE
Violet / purple4CTRL  + 5#CC44CC
Green5CTRL  + 6#00CC55
Blue6CTRL  + 7#0000AA
Yellow7CTRL  + 8#EEEE77
Orange8C=  + 1#DD8855
Brown9C=  + 2#664400
Light red10C=  + 3#FF7777
Dark grey / grey 111C=  + 4#333333
Grey 212C=  + 5#777777
Light green13C=  + 6#AAFF66
Light blue14C=  + 7#0088FF
Light grey / grey 315C=  + 8#BBBBBB

Adresses for colours

AddressDescription
646Text
53280Border (screenframe)
53281Background
53287Sprite 0
53288Sprite 1
53289Sprite 2
53290Sprite 3