The applications on this page allow you to select colors for use in data visualization, such as the
package in R.
Pick how many colors you would like to plot, and then click in the colored field below "Select color" to open the color picker tool.
In the color picker tool, the square on the left allows you to adjust the lightness and darkness of the color, the middle slider is for selecting the color (technically, the "hue"), and the rightmost slider allows you to select the alpha level (transparency) of the color.
The plots visualize data from the
dataset, and they will update as you change the color.
Some combinations of colors work better than others for aesthetic or distinguishability purposes. The application below lets you set one to three colors, which are then mapped to an appropriate variable from
Once you have selected your color(s), copy the hex code including
). Surround this with quotes and provide it as a function argument in ggplot. For example,
ggplot(mtcars, aes(wt, mpg)) + geom_point(color = "#555599", size = 3)
For more on using ggplot, see Data Visualization in R with ggplot2.