Fixed some coloring bugs in the gradients