Transform color values into a dictionary object
Make color var generation more generic