powered by
divergentColors(start.color, end.color, min.value, max.value, mid.value = 0, mid.color = "white") "divergentColors"(start.color, end.color, min.value, max.value, mid.value = 0, mid.color = "white")
colorRampPalette
start.colour
end.colour
mid.colour
0
"white"
divergentColors("darkred", "darkblue", -10, 10, 0, "white")
Run the code above in your browser using DataLab