Description Usage Arguments Examples
View source: R/SimulateColorBlind.R
Generate a hex color simulating colorblindness. Algorithm from http://www.daltonize.org/
1 | simulate_colorblind_hex(hex_str, cvd)
|
hex_str |
The hex color string, e.g., '#FF0000' |
cvd |
A vector (3x3–9 values) specifying the color vision deficiency transform matrix |
1 2 3 4 | simulate_colorblind_green(
c("#005000","#008600","#00BB00"),
border = "light gray"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.