new formula for divergence color drawing