Generalizes color production to other spaces in ColorCategorization and adds some explanation in the docstring