Learn R Programming

plutor (version 0.1.0)

gradient_colors: generate gradient colors

Description

generate gradient colors

Usage

gradient_colors(x, n)

Value

gradient colors

Arguments

x

colors

n

number of colors to output

Examples

Run this code
gradient_colors(c("blue", "red"), 10)

Run the code above in your browser using DataLab