convert_xy: Convert a CSS color to Hue XY colorspace

Description Usage Arguments Value Examples

Description

Convert a CSS color to Hue XY colorspace

Usage

1
convert_xy(color)

Arguments

color

A CSS hex color definition, e.g. "#FF0000"

Value

A numeric vector of length 2, defining a color in XY colorspace

Examples

1
convert_xy("#FF0000")

acartauchenius/rhue documentation built on May 8, 2019, 9:28 a.m.