Get the intensity and/or luminance of a color
Usage
Intensity(color)
Luminance(color)
Arguments
- color
A vector of colors
Value
A vector of intensities/luminances for each color
Examples
Intensity(color = c('black', 'white', '#E76BF3'))
Luminance(color = c('black', 'white', '#E76BF3'))