Preview of colors specified from hex-codes

display(col, border = "light gray", ...)

Arguments

col

a vector of hex-code colors to be displayed

border

border color

...

further arguments that can be passed to the plot()-function

Examples

#display can be used to preview all the palettes included in the 'zhpal'-list:
display(zhpal$zhdiagonal)

#example with a single hex-code
display("#000000")