Learn R Programming

RPMG (version 2.2-7)

pastel.colors: pastel colors

Description

vector of pastel colors

Usage

pastel.colors(num, seed=0)

Value

vector of RGB hex colors

Arguments

num

number of colors

seed

random number seed

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Details

The seed is a value given so that the same pastel colors can be extracted with each subsequent call to the code.

See Also

rainbow

Examples

Run this code
pastel.colors(12)

pastel.colors(12, seed=1 )




Run the code above in your browser using DataLab