Type: Package
Title: Impressionism's Color Palettes
Version: 1.0
Author: Federico Casale
Maintainer: Federico Casale <casale@hhu.de>
Description: Provides color palettes from Impressionism and post-Impressionism artworks. This package allows to select colors combinations while looking at the original paintings where colors were sampled from.
License: GPL-3
Encoding: UTF-8
LazyData: true
Imports: graphics
NeedsCompilation: no
Packaged: 2020-03-31 15:27:54 UTC; qggadmin
Depends: R (≥ 2.10)
Repository: CRAN
Date/Publication: 2020-03-31 16:20:02 UTC

Get color Hex codes from palette.

Description

Provides colors' Hex codes from a specified palette.

Usage

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

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

palette.list

Description

"impressionist.colors" package internal data storage.


Summary of all available palettes in the package.

Description

Prints a summary of all available color palettes in the package categorized by artist and painting along with their numeric order.

Usage

palette.summary()

Author(s)

Federico A Casale, casale@hhu.de

See Also

see.all.paintings, see.palette, get.color,

Examples

palette.summary()

See all included paintings in the package.

Description

Displays a plot with all paintings included in the package.

Usage

see.all.paintings()

Author(s)

Federico A Casale, casale@hhu.de

See Also

palette.summary, see.palette, get.color

Examples

see.all.paintings()

See a color palette with the original painting.

Description

Displays a plot with the specified color palette along with the original painting.

Usage

see.palette(artist, painting)

Arguments

artist

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

painting

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

Details

Arguments artist and painting cannot be vectorized.

Author(s)

Federico A Casale, casale@hhu.de

See Also

palette.summary, see.all.paintings, get.color

Examples

see.palette(artist=8, painting=2)
see.palette(8, 2)