Hue.2.RGB: Convert Hue to RGB

Description Usage Arguments Value Author(s) Source References Examples

View source: R/colorscience.R

Description

Hue.2.RGB Converts Hue to RGB for HSL conversion.

Usage

1
Hue.2.RGB(v1, v2, vH) 

Arguments

v1

value 1

v2

value 2

vH

value of hue

Value

RGB coordinates

Author(s)

Jose Gama

Source

Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox http://www.99main.com/~centore/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html

References

Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox http://www.99main.com/~centore/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html

Examples

1
Hue.2.RGB(1,2,3)

Example output

Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2

Attaching package: 'Hmisc'

The following objects are masked from 'package:base':

    format.pval, units

Loading required package: pracma

Attaching package: 'pracma'

The following object is masked from 'package:Hmisc':

    ceil

Loading required package: sp
[1] 1

colorscience documentation built on Oct. 30, 2019, 9:33 a.m.