improved color scaling