colors3d: Generate 2D and 3D Color Palettes

Generate multivariate color palettes to represent two-dimensional or three-dimensional data in graphics (in contrast to standard color palettes that represent just one variable). You tell 'colors3d' how to map color space onto your data, and it gives you a color for each data point. You can then use these colors to make plots in base 'R', 'ggplot2', or other graphics frameworks.

Package details

AuthorMatthew Kling [aut, cre, cph]
MaintainerMatthew Kling <>
LicenseMIT + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the colors3d package in your browser

Any scripts or data that you put into this service are public.

colors3d documentation built on Nov. 2, 2023, 5:38 p.m.