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)

ColorNameR documentation built on July 8, 2021, 9:07 a.m.