rsagl-0.6.0.1: The RogueStar Animation and Graphics Library

RSAGL.Color.Alpha

Synopsis

Documentation

alpha :: RSdouble -> Alpha c -> Alpha cSource

Apply (more) transparency to a color.

alpha256 :: Integral i => i -> Alpha c -> Alpha cSource

In the range [0..255].