color_sqdist: Squared Color Distance

View source: R/colorOps.R

color_sqdistR Documentation

Squared Color Distance

Description

Get the squared RGB distance between two colors

Usage

color_sqdist(x, y)

Arguments

x

Color

y

Color

Author(s)

E.D. Gennatas

Examples

color_sqdist("red", "green")
color_sqdist("#16A0AC", "#FA6E1E")


egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.