tintshade: Produce tints and shades for a set of colours

Description Usage Arguments Value Examples

Description

This function allows you to express your love of cats.

Usage

1
tintshade(colors, tints = c(), shades = c(), hexin = TRUE)

Arguments

colors

Character vector with hex or RGB spec of each colour

tints

Numeric vector specifying level of each tint, 0-1; 1 will be included automatically

shades

Numeric vector specifying level of each shade, 0-1; 1 will be included automatically

hexin

Are colours in hex format? Defaults to TRUE.

Value

Matrix; nrows=number of colours, ncol=number of tints and shades includes the input colours

Examples

1
tintshade(ifgbasecolours, c(0.75,0.5,0.25))

petrbouchal/pbtools documentation built on May 25, 2019, 2:53 a.m.