color_order: Order colors

View source: R/colorOps.R

color_orderR Documentation

Order colors

Description

Order colors by RGB distance

Usage

color_order(x, start_with = 1, order_by = c("similarity", "dissimilarity"))

Arguments

x

Vector of colors

start_with

Integer: Which color to output in first position

order_by

Character: "similarity" or "dissimilarity"

Author(s)

E.D. Gennatas


egenn/rtemis documentation built on Dec. 17, 2024, 6:16 p.m.