HsvColorFun: Creates a color function mapping ratio/conf values to a HSV...

Description Usage Arguments Value

View source: R/colorpatch_impl.R

Description

Creates a color function mapping ratio/conf values to a HSV colorspace

Usage

1
2
HsvColorFun(coerce.fn = colorspace::hex, hue.offset = 60, hue.scale = -60,
  saturation = 1)

Arguments

coerce.fn

coerces each HSV color with this function (defaults colorspace::hex())

hue.offset

hue offset (defaults to 60)

hue.scale

hue scale (defaults to 60)

saturation

HSV saturation (defaults to 1)

Value

a color mapping function (ratio,conf) -> color


colorpatch documentation built on May 1, 2019, 10:28 p.m.