powered by
Returns the first part of a colors object, similar to head() for data frames.
head()
# S3 method for colors head(x, n = 6L, ...)
A colors object with the first n rows.
n
A colors object (data frame with color information).
Number of rows to return. Default is 6.
6
Additional arguments passed to head().
head(get_colors()) head(get_colors(), n = 10)
Run the code above in your browser using DataLab