flexoki | R Documentation |
Color palettes and scales based on the Flexoki color scheme, a warm and soft color system designed by Steph Ango. Flexoki emphasizes readability and natural color harmony, making it particularly suitable for data visualization and long-form reading. The palette includes both light and dark variants, with each offering 8 distinct colors.
The name "Flexoki" combines "flexible" and "karaoke", reflecting its adaptable nature and harmonious color relationships.
... |
Additional arguments passed to scale_color_manual() or scale_fill_manual() |
palette |
For continuous scales, the name of the color palette to use (one of "red", "orange", "yellow", "green", "cyan", "blue", "purple", "magenta") |
The package provides several types of scales: * Discrete scales for both light and dark variants * Continuous scales with extended color ramps
The color palette includes: * Red: For emphasis and warnings * Orange: For secondary emphasis * Yellow: For highlighting * Green: For success states and nature-related data * Cyan: For information and water-related data * Blue: For primary elements and cool tones * Purple: For luxury and depth * Magenta: For creative and feminine contexts
A ggplot2 scale object
Flexoki Color System: https://stephango.com/flexoki
library(ggplot2)
# Discrete color scale (light variant)
ggplot(mpg, aes(class, fill = class)) +
geom_bar() +
scale_fill_flexoki_light()
# Continuous color scale
ggplot(faithfuld, aes(waiting, eruptions, fill = density)) +
geom_tile() +
scale_fill_flexoki_continuous(palette = "blue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.