palette-0.1.0.4: 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.Harmony

Contents

Description

Utility functions to creating color schemes.

Synopsis

Choosing color schemes

Synonym for Colour Double

Color utilities

tint :: Double -> Kolor -> Kolor Source #

Tints a color by adding blending t * white + (1 - t) color. t should be between 0 and 1.

tone :: Double -> Kolor -> Kolor Source #

Alter the tone of a color by adding blending t * gray + (1 - t) color. t should be between 0 and 1.

shade :: Double -> Kolor -> Kolor Source #

Shades a color by adding blending s * black + (1 - t) color. t should be between 0 and 1.

sliders :: Kolor -> Double -> (Double -> Double) -> (Double -> Double) -> Kolor Source #

Rotate a color and apply one function to its saturation and another to its value.

rotateColor :: Double -> Kolor -> Kolor Source #

Rotate a color on the RYB color wheel

Color harmonies

monochrome :: Kolor -> [Kolor] Source #

Create a monochromatic set of 5 colors based in the input color.

complement :: Kolor -> [Kolor] Source #

A color harmony using the base color and its opposite.

triad :: Kolor -> [Kolor] Source #

A color chord based on three equally spaced hues.

tetrad :: Kolor -> [Kolor] Source #

Scheme based on 4 colors on a rectangle incscribed in the RYB color wheel.

analogic :: Kolor -> [Kolor] Source #

Chord base on three adjacent colors on the artists color wheel.

accentAnalogic :: Kolor -> [Kolor] Source #

Analogic chord plus the color opposite to the base color.

bwg :: Kolor -> [Kolor] Source #

Black, white and gray with a touch of the base color added.