HsvColorFun {colorpatch}R Documentation

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

Description

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

Usage

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


[Package colorpatch version 0.1.2 Index]