hsv_color: Creates an object of class "color" from HSV palette...

Description Usage Arguments Value Examples

Description

Creates an object of class "color" from HSV palette specifications

Usage

1
hsv_color(h, s, v, hmax = 1, vmax = 1)

Arguments

h

Hue

s

Saturation

v

Value

hmax

Perimeter of the colour circle. Defaults to 1

vmax

Maximum permitted input for value. Defaults to 1

Value

The corresponding object of class "color".

Examples

1
2
3
hsv_color(0,1,1)
hsv_color(3.1416, 1, 1, hmax=2*pi)
hsv_color(.5, .5, 128, vmax=255)

dpcarballo/coloR documentation built on June 1, 2019, 8:14 p.m.