in_gamut | R Documentation |
Not all possible correctly formatted Munsell colours result in a colour representable in RGB space. This function checks if the colour is representable.
in_gamut(col, fix = FALSE)
col |
a character vector representing Munsell colours. |
fix |
passed on to |
a character vector containing the input colours. If any colours were outside the gamut they will be represented by NA.
in_gamut(c("5R 5/8","2.5R 9/28"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.