hue_convert_to_hue_sat: Convert hex colour to

View source: R/hue_set_colour.R

hue_convert_to_hue_satR Documentation

Convert hex colour to

Description

Convert hex colour to

Usage

hue_convert_to_hue_sat(colour)

Arguments

colour

A colour name as listed by colours() or a hexadecimal colour string.

Value

A named list with two elements: hue and sat

Examples


hue_convert_to_hue_sat("red")
hue_convert_to_hue_sat("#E414FF")
if (interactive()) {
  hue_convert_to_hue_sat(colourpicker::colourPicker(numCols = 1))
}

giocomai/huecontroller documentation built on Dec. 12, 2023, 12:39 a.m.