Skip to contents

Get Color Theme

Usage

get_color_theme(theme_name = "default", n_colors = 8)

Arguments

theme_name

Character string specifying one of the names returned by `get_available_themes()`

n_colors

Positive integer specifying the number of colors needed. Requests beyond a theme's base palette are interpolated so categorical colors are not recycled exactly.

Value

A list containing theme colors and settings