Try using cairocffi instead of pycairo; add colors.py.