colors-0.1: A type for colors

Portabilitynon-portable
Stabilityprovisional
MaintainerFumiaki Kinoshita <fumiexcel@gmail.com>
Safe HaskellSafe-Inferred

Data.Color

Contents

Description

Colors and its operations

Synopsis

The type

data Color Source

A color that has red, green, blue, alpha as its component.

Constructors

Color Float Float Float Float 

Color operations

blend :: Float -> Color -> Color -> ColorSource

Blend two colors.