Learn R Programming

colorscience (version 1.0.0)

RGB2hue: Convert sRGB coordinates to hue

Description

RGB2hue Converts sRGB coordinates to hue.

Usage

RGB2hue(RGBmatrix)

Arguments

RGBmatrix
sRGB coordinates

Value

  • hue

Examples

Run this code
RGB2hue(c(0.310897, 0.306510, 74.613450))

Run the code above in your browser using DataLab