RGB2hue: Convert sRGB coordinates to hue

Description Usage Arguments Value Author(s) Examples

Description

RGB2hue Converts sRGB coordinates to hue.

Usage

1
RGB2hue(RGBmatrix)

Arguments

RGBmatrix

sRGB coordinates

Value

hue

Author(s)

Jose Gama

Examples

1
RGB2hue(c(0.310897, 0.306510, 74.613450))

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] -2.094344

colorscience documentation built on May 2, 2019, 4:53 p.m.