Assembler : Directives : DEFPAL

DEFPAL - Define a palette using RGB values. It can have up to 16 entries. Entries are specified as RGB values in BCD format (ie. for a colour with red = 0 / green = 2 / blue = 4, use $024).

Example :
  

 label  .defpal  $000,$011,$777,$444

See also INCPAL.