craftwerk-0.1: 2D graphics library with integrated TikZ output.

MaintainerMalte Harder <malte.harder@gmail.com>

Graphics.Craftwerk.Core.Color

Description

Craftwerk uses the Data.Colour package to represent colours in styles.

Synopsis

Documentation

type FigureColor = Colour DoubleSource

The colour type used by Craftwerk

integralColor :: Integral a => a -> FigureColorSource

Returns the i-th of 16 basic named colours (i % 16 to be precise).