color and lighting transformation