Description Usage Arguments Details Value Examples
Hiermee kunnen alle Certe-kleuren gebruikt worden, maar daarnaast ook de huisstijl van de RuG, het kleurenblindheid-veilige viridis
en nog 6 andere continue kleurenpaletten. Druk op F1 voor een voorbeeldplaatje van alle beschikbare kleuren.
1 2 3 | colourpicker(x, length = 1, opacity = 0)
colorpicker(x, length = 1, opacity = 0)
|
x |
Kleur. Moet een geldige kleur zijn uit |
length |
Standaard is |
opacity |
Standaard is |
About viridis:
These colour scales are designed to be:
Colourful, spanning as wide a palette as possible so as to make differences easy to see,
Perceptually uniform, meaning that values close to each other have similar-appearing colours and values far away from each other have more different-appearing colors, consistently across the range of values,
Robust to colourblindness, so that the above properties hold true for people with common forms of colourblindness, as well as in grey scale printing.
RGB-kleur(en) in HTML-tekst, zoals "#849A42"
voor x = "certegroen"
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | colourpicker("certegroen")
# spectra uitproberen:
tibble(x = c(1:500), y = 1) %>%
ggplot(aes(x, y)) +
theme(
panel.grid.minor.x = element_blank(),
panel.grid.major.x = element_blank(),
panel.grid.minor.y = element_blank(),
panel.grid.major.y = element_blank()
) +
geom_col(
width = 1,
fill = colourpicker("heat", length = 500))
## Not run:
..., col = colourpicker("certeblauw", nrow(tbl)), ...
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.