col2ab: Convert colors to alpha-beta values

Description Usage Arguments Value

View source: R/swatches.R

Description

See https://en.wikipedia.org/wiki/HSL_and_HSV#Hue_and_chroma for more information.

Usage

1
col2ab(hexes)

Arguments

hexes

A character vector with a set of hex color values or R colors

Value

a data.frame with columns for the original color, alpha, and beta values.


hypercompetent/xstitch documentation built on July 22, 2019, 10:11 p.m.