Perform simple desaturation or grayscale conversion of RGBA colors.
Source:R/vis_surface_background.R
desaturate.RdPerform simple desaturation or grayscale conversion of RGBA colors.
Value
rgba color strings, the gray-scale colors. The information from one of the three RGB channels would be enough. The alpha value is not touched.
See also
Other color functions:
alphablend()