palette-0.1.0.5: Utilities for choosing and creating color schemes.

Data.Colour.Palette.ColorSet

Description

Predefined sets of colors. Including the common html/css colors, The colors from d3.js and the standard color wheel. d3 Colors from https://github.com/mbostock/d3/wiki/Ordinal-Scales.

Synopsis

# Predefined color palettes

## RYB color wheel - red, rellow, blue

### Artist's pigment color wheel

The 24 colors from the artist's RYB color wheel. 0 == red.

## Colors from d3.js

data Brightness #

Four levels of brightness for functions that take a Brightness parameter. For functions with only two levels of Brightness we set darkest == dark and lightest == light.

Constructors

 Darkest Dark Light Lightest

Instances

 # Methods

Choose from one of 10 contrasting colors (0-9) borrowed from mbostock's d3.

Choose 0 for dark and 1 for light for each pair of 10 sets of contrasting colors (0-9) from d3.

Choose from 4 levels of darkness - 0 for darkest, 3 - for lightest. From 10 quadruples of contrasting colors (0-9) from d3.

## Common html colors

Return a color from webColorL arranged as to provide nice contrast between near by colors.

A List of webColors ordered as above, cycling infinitely many times.

Choose the nth color in an array a skipping skip colors every time.