Learn R Programming

aqp (version 1.18)

contrastChart: Color Contrast Chart

Description

Compare one or more pages from a simulated Munsell book of soil colors to a reference color.

Usage

contrastChart(m, hues)

Arguments

m

Munsell representation of a single color for comparison e.g. '10YR 4/3'

hues

vector of one or more Munsell hue pages to display

Value

A trellis graphics object.

Details

A simulated Munsell color book page or pages are used to demonstrate color contrast between all chips and the refnerece color m (highlighted in red). NCSS color contrast class and CIE delta-E00 values are printed below all other color chips.

Examples

Run this code
# NOT RUN {
# single hue page
contrastChart(m = '10YR 3/3', hues = '10YR')

# multiple hue pages
contrastChart(m = '10YR 3/3', hues = c('10YR', '2.5Y'))
# }

Run the code above in your browser using DataLab