color_pal function

Draw a palette of colors

Draw a palette of colors

color_pal(col, border = "gray70", ...)

Arguments

  • col: vector of colors
  • border: border
  • ...: other arguments

Returns

Plot of a color palette

Details

Borrowed from the colorspace library

Examples

color_pal(c("#66C2A5", "#FC8D62", "#8DA0CB"))

Author(s)

colorspace library authors

  • Maintainer: Kieran Healy
  • License: MIT + file LICENSE
  • Last published: 2020-06-10