get_closest_color {ColorNameR}R Documentation

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

Description

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

Usage

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

get_closest_color(65, 20, -20)

[Package ColorNameR version 0.1.0 Index]