Create color.py

Whoops, seemed to have introduced a memory leak.