Learn R Programming

colorblindr (version 0.1.0)

desaturate: Turn colors into their gray values

Description

Turn colors into their gray values

Usage

desaturate(col, amount = 1)

Arguments

col

Vector of colors to convert

amount

Degree of desaturation. 1=complete, 0=none.