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

Copyright(c) 2013 Jeffrey Rosenbluth
LicenseBSD-style (see LICENSE)
Maintainerjeffrey.rosenbluth@gmail.com
Safe HaskellSafe
LanguageHaskell2010

Data.Colour.Palette.BrewerSet

Contents

Description

Sets of between 3 and 12 colors. This product includes color specifications and designs developed by Cynthia Brewer.

Synopsis

Color schemes from Cynthia Brewer.

brewerSet :: ColorCat -> Int -> [Kolor] Source #

Obtain a list of colors for the color scheme designated by category and number n of colors in the theme. If the category and/or number does not exist then returns a list black repeated n times.

Synonym for Colour Double

type Kolor = Colour Double Source #

A convenient alias.

Colour Categories

data ColorCat Source #

Categories of color sets. Each category has several lists of colors. Each one containing the number of colors in the range specfied.

Constructors

YlGn

3 - 9, sequential multihue

YlGnBu

3 - 9, sequential multihue

GnBu

3 - 9, sequential multihue

BuGn

3 - 9, sequential multihue

PuBuGn

3 - 9, sequential multihue

PuBu

3 - 9, sequential multihue

BuPu

3 - 9, sequential multihue

RdPu

3 - 9, sequential multihue

PuRd

3 - 9, sequential multihue

OrRd

3 - 9, sequential multihue

YlOrRd

3 - 9, sequential multihue

YlOrBr

3 - 9, sequential multihue

Purples

3 - 9, sequential single hue

Blues

3 - 9, sequential single hue

Greens

3 - 9, sequential single hue

Oranges

3 - 9, sequential single hue

Reds

3 - 9, sequential single hue

Greys

3 - 9, sequential single hue

PuOr

3 - 11, diverging

BrBG

3 - 11, diverging

PRGn

3 - 11, diverging

PiYG

3 - 11, diverging

RdBu

3 - 11, diverging

RdGy

3 - 11, diverging

RdYlBu

3 - 11, diverging

Spectral

3 - 11, diverging

RdYlGn

3 - 11, diverging

Accent

3 - 8, qualitative

Dark2

3 - 8, qualitative

Paired

3 - 12, qualitative

Pastel1

3 - 9, qualitative

Pastel2

3 - 8, qualitative

Set1

3 - 9, qualitative

Set2

3 - 8, qualitative

Set3

3 - 12, qualitative