Draws the basic-eight color palette of the classic 1977 Atari 2600.
from math import * from kandinsky import * # 2020-05-28 atari 2600 colors # kandinsky module fill_rect(0,0,320,240,color(245,245,245)) fill_rect(15,15,55,55,color(0,0,0)) fill_rect(85,15,55,55,color(255,0,0)) fill_rect(155,15,55,55,color(255,255,0)) fill_rect(15,85,55,55,color(255,0,255)) fill_rect(155,85,55,55,color(0,255,0)) fill_rect(15,155,55,55,color(0,255,255)) fill_rect(85,155,55,55,color(0,0,255)) fill_rect(155,155,55,55,color(255,255,255)) draw_string("8",107,107)