Learn R Programming

rtist (version 1.0.0)

rtist_palette: Artist and painting palette generator

Description

Pick an artist name and number of colors desired.

Usage

rtist_palette(artist, n)

Arguments

artist

Name of desired artist palette. Choices are: raphael, hokusai, vermeer, degas, davinci, vangogh, hopper, klimt, rembrandt, munch, okeeffe, warhol, oldenburg, picasso, pollock

n

Number of colors desired. All palettes have 5 colors. Most color schemes are derived from 10 Color Palettes Based on Famous Paintings. If omitted, will use all colors.

Value

A vector of colors.

Examples

Run this code
# NOT RUN {
rtist_palette("warhol")
rtist_palette("pollock", 4)
# }

Run the code above in your browser using DataLab