updating colorForTranslucency