Skip to contents

Generates a vector of colors forming a smooth gradient.

Usage

color_gradient(colors, n = 10)

Arguments

colors

Vector of color specifications (at least 2)

n

Number of colors to generate

Value

Character vector of hex colors