To cite package ‘painter’ in publications use:

Sandel B (2018). painter: Creation and Manipulation of Color Palettes. R package version 0.1.0, https://CRAN.R-project.org/package=painter.

Corresponding BibTeX entry:

  @Manual{,
    title = {painter: Creation and Manipulation of Color Palettes},
    author = {Brody Sandel},
    year = {2018},
    note = {R package version 0.1.0},
    url = {https://CRAN.R-project.org/package=painter},
  }