get_closest_color: Get information about the closest RHS color to some CIELab...

Description Usage Arguments Value Examples

View source: R/name.R

Description

Get information about the closest RHS color to some CIELab coordinates.

Usage

1
get_closest_color(L, a, b, metric = "CIEDE2000")

Arguments

L

The lightness L* of the color.

a

The chromatic component a* (red-green).

b

The chromatic component b* (blue-yellow).

metric

The color distance to use.

Value

A one-row tibble.

Examples

1
get_closest_color(65, 20, -20)

msanchez-beeckman/ColorNameR documentation built on Dec. 21, 2021, 10:10 p.m.