hexTrip: Find the closest hex triplet to a given six character hex...

View source: R/hexTrip.R

hexTripR Documentation

Find the closest hex triplet to a given six character hex colour

Description

Find the closest hex triplet to a given six character hex colour

Usage

hexTrip(x)

Arguments

x

vector of six digit hex colours

Value

vector of nearest hex colour represented as a triplet

Examples

hexTrip(c("#117733", "#b58900", "#855C75"))
hexTrip("#fffffff")
hexTrip("855C75")


johngodlee/JLGMisc documentation built on June 29, 2024, 9:15 p.m.