color_pal {socviz} | R Documentation |
Draw a palette of colors
Description
Draw a palette of colors
Usage
color_pal(col, border = "gray70", ...)
Arguments
col |
vector of colors |
border |
border |
... |
other arguments |
Details
Borrowed from the colorspace library
Value
Plot of a color palette
Author(s)
colorspace library authors
Examples
color_pal(c("#66C2A5", "#FC8D62", "#8DA0CB"))
[Package socviz version 1.2 Index]