hue_spin: Spin the hue

Description Usage Arguments Value

Description

Spin the hue a given amount.

Usage

1
hue_spin(x, amount = 0, tohex8 = FALSE, na.rm = FALSE)

Arguments

x

a tinycolor color string specifying.

amount

Amount of manipulate the color, from -360 to 360.

tohex8

convert the return value to 8-bit hex color.

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

Value

Returns the modified color vector.


houyunhuang/tinycolor documentation built on June 6, 2019, 7:43 p.m.