Inky Color Schemes

Provides color palettes designed to be reminiscent of text on paper. The color schemes were taken from < https://stephango.com/flexoki>. Includes discrete, continuous, and binned scales that are not necessarily color-blind friendly. Simple scale and theme functions are available for use with 'ggplot2'.


flexoki

CRANstatus flexoki statusbadge R-CMD-check Lifecycle:stable

flexoki provides a set of color palettes from Steph Ango’s https://stephango.com/flexoki.

This package provides:

  • Dark and light ggplot2 themes that match the aesthetic of Flexoki’s code editor styles.
  • Custom color and fill scales for discrete, continuous, and binned data using Flexoki’s extended color schemes.
  • Color palettes in the flexoki object, which is a list of palette vectors.

Installation

You can install the stable version of flexoki from CRAN with:

install.packages('flexoki')

You can install the development version of flexoki from GitHub with:

pak::pak('christopherkenny/flexoki')

Example

flexoki provides basic ggplot2 scales for fill and color (also aliased as colour). It similarly provides corresponding theme functions.

library(ggplot2)
library(flexoki)

mpg |>
  ggplot() +
  geom_point(aes(displ, hwy, colour = class)) +
  scale_color_flexoki_d(palette = 'light') +
  theme_flexoki_light()

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("flexoki")

0.0.2 by Christopher T. Kenny, a year ago


https://github.com/christopherkenny/flexoki, https://christophertkenny.com/flexoki/


Report a bug at https://github.com/christopherkenny/flexoki/issues


Browse source code at https://github.com/cran/flexoki


Authors: Christopher T. Kenny [aut, cre] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports ggplot2, palette, scales


Imported by ggrefine.

Suggested by ggblanket, ggscribe.


See at CRAN