Compare Colors In A Plot

plotCol(col, nrow = 1, ncol = ceiling(length(col)/nrow), txt.col = "black")

Arguments

col

the color name

nrow

number of rows

ncol

number of columns

txt.col

text color

Value

the grid layout, invisibly

Author

Marius Hofert, originally