get_color_dist: Calculate distances between colors in RGB space

Description Usage Arguments Value

View source: R/utils.R

Description

Calculate distances between colors in RGB space

Usage

1
get_color_dist(r, g, b)

Arguments

r

Vector of values for red.

g

Vector of values for green.

b

Vector of values for blue.

Value

Vector containing the average distances of colors from other colors in the vector.


martina-starc/peRson documentation built on April 14, 2021, 3:48 p.m.