import pygame

pygame.init()

screen = pygame.display.set_mode((640, 480))
pygame.display.set_caption("Colored Rectangles")

BG     = ( 30,  30,  30)
ORANGE = (230, 120,  20)
TEAL   = ( 30, 180, 160)

running = True
while running:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            running = False

    screen.fill(BG)
    pygame.draw.rect(screen, ORANGE, (80, 100, 200, 100))
    pygame.draw.rect(screen, TEAL,   (360, 250, 180, 120))
    pygame.display.flip()

pygame.quit()
