Some words.
colors <- colorspace::terrain_hcl(10) colors #> [1] "#26A63A" "#68AC20" "#92B106" "#B4B61A" "#D3BA3D" "#EFBD60" "#FFC183" #> [8] "#FFC6A7" "#FFCDC9" "#F1F1F1"
swatch(colors, background = "#333", margin = 10)
Some more words.
swatch(colors, height = 50)
Even more words.
ramp(colors)
We can estimate the effect of a color-vision deficiency:
Some final words.
hcl_table(colors)
color | hue | chroma | luminance |
---|---|---|---|
#26A63A | 130.1 | 79.7 | 59.9 |
#68AC20 | 115.6 | 78.9 | 63.8 |
#92B106 | 100.8 | 77.8 | 67.7 |
#B4B61A | 86.9 | 76.9 | 71.7 |
#D3BA3D | 72.5 | 75.4 | 75.6 |
#EFBD60 | 57.5 | 73.9 | 79.4 |
#FFC183 | 46.5 | 66.9 | 82.4 |
#FFC6A7 | 36.9 | 49.0 | 84.2 |
#FFCDC9 | 17.1 | 32.8 | 86.6 |
#F1F1F1 | 94.1 | 0.0 | 95.1 |