added secondary color weighting