View colors with a given color hex codes

plot_colors(hexcode, nrow = NULL)

Arguments

hexcode

A hexadecimal string defining colors

nrow

Number of rows used in plotting window

Examples

# View all predefined colors of the THL
colnams <- colornames_thl("en")
cols <- colors_thl(colnams)
plot_colors(cols)