distinctColorPalette: Generate palettes of optimally distinct colors.

Description Usage Arguments Value

View source: R/randomcolor.R

Description

Inspired by the the theory from http://tools.medialab.sciences-po.fr/iwanthue/theory.php For more info, also see https://en.wikipedia.org/wiki/Lab_color_space

Usage

1

Arguments

k

number of colors (>= 1). May be ineffective for k > 40.

Value

A character vector of k optimally distinct colors in hexadecimal codes.


randomcoloR documentation built on May 19, 2017, 9:25 a.m.

Search within the randomcoloR package
Search all R packages, documentation and source code