powered by
these colors are suitable for shading shapes
shadepalette(n = 100, endcol = "red", inicol = "white", interval = c(0.0, 1.0))
intpalette
grey
femmecol
colorRamp
shadepalette(n = 10, "white", "black") image(matrix(nrow = 1, ncol = 100, data = 1:100), col = shadepalette(100, "red", "blue"), main = "shadepalette")
Run the code above in your browser using DataLab