Minor fixes to colorspaces.py