col2ab: Convert colors to alpha-beta values

View source: R/conversion.R

col2abR Documentation

Convert colors to alpha-beta values

Description

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

Usage

col2ab(color_vec)

Arguments

color_vec

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/colorway documentation built on April 2, 2024, 1:44 a.m.