fixed the color calculations for complementaries