get.color: Get color Hex codes from palette.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/functions.R

Description

Provides colors' Hex codes from a specified palette.

Usage

1
get.color(artist, painting, color)

Arguments

artist

A number indicating artist. Artists have a numeric order in the package. Check palette.summary to see artists numeric order.

painting

A number indicating painting. Paintings have a numeric order in the artist category they belong to. Check palette.summary to see paintings numeric order in each artist category.

color

A numeric vector indicating colors. Colors have a numeric order in the palette they belong to. Check see.palette to see colors numeric order in a specified palette.

Details

Arguments artist and painting cannot be vectorized.

Value

The output is a vector of colors' Hex codes as characters.

Author(s)

Federico A Casale, casale@hhu.de

See Also

palette.summary, see.all.paintings, see.palette

Examples

1
2
get.color(artist=8, painting=2, color=c(1:5))
get.color(8, 2, c(1:5))

impressionist.colors documentation built on March 31, 2020, 5:20 p.m.