make.pallete.contrast: Add contrast to a color palette

Description Usage Arguments Value Examples

View source: R/make.pallete.contrast.R

Description

Add contrast to a color palette

Usage

1
make.pallete.contrast(vecol, contrast = 1, raw = F)

Arguments

vecol

A vector of colors

contrast

Interger with the number of iterations of contrast desired

raw

Logical. Do you want the raw colors or the pallete function?

Value

A colorRampPallete object with the desired contast if any

Examples

1
make.pallete.contrast(c("red","orange","yellow","green","blue"), contrast=2)

MoisesExpositoAlonso/moiR documentation built on Dec. 24, 2021, 10:12 p.m.