desaturate | R Documentation |
Lower a color's saturation by a given percent in the HSV color system
desaturate(color, s = 0.3)
color |
Color, vector: Color(s) to operate on |
s |
Float: Decrease saturation by this fraction. Default = .3, which means if saturation of given color is 1, it will become .7 |
List of adjusted colors
E.D. Gennatas
color <- c("red", "green", "blue")
color.p <- desaturate(color)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.