colors-0.3.0.2: A type for colors

Copyright(C) 2013 Fumiaki Kinoshita
LicenseBSD-style (see the file LICENSE)
MaintainerFumiaki Kinoshita <fumiexcel@gmail.com>
Stabilityprovisional
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell98

Data.Color

Contents

Description

RGBAs and its operations

Synopsis

The type

type RGBA = V4 Source

RGBA operations

blend :: (Functor f, Additive f, Num a) => a -> f a -> f a -> f a Source

Blend two colors.

multRGBA :: Integer -> Integer -> Integer Source

Deprecated: Use (*) instead