extract_rgba | R Documentation |
Extract the red, green, or blue color components from a vector of colors.
clr_extract_red(col)
clr_extract_green(col)
clr_extract_blue(col)
clr_extract_alpha(col)
col |
A |
The values of the output will range between 0 and 255.
Use clr_extract()
if you are planning to extract multiple components.
A numeric vector giving the extracted values.
Other Extraction:
clr_extract()
,
clr_extract_chroma()
,
clr_extract_hue()
clr_extract_red(rainbow(100))
clr_extract_green(rainbow(100))
clr_extract_blue(rainbow(100))
clr_extract_alpha(rainbow(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.