Fix color and opacity ranges