12.4. Colour Constants

Kick Assembler has build in the C64 colour constants:

Table 12.2. Colour Constants

Constant Value
BLACK 0
WHITE 1
RED 2
CYAN 3
PURPLE 4
GREEN 5
BLUE 6
YELLOW 7
ORANGE 8
BROWN 9
LIGHT_RED 10
DARK_GRAY/DARK_GREY 11
GRAY/GREY 12
LIGHT_GREEN 13
LIGHT_BLUE 14
LIGHT_GRAY/LIGHT_GREY 15

Example of use:

        lda #BLACK
        sta $d020
        lda #WHITE 
        sta $d021