automatically set color based on depth