rsagl-0.6.0.1: The RogueStar Animation and Graphics Library

RSAGL.Color.LinearAdjust

Synopsis

Documentation

adjustColor :: (ExportColorCoordinates c, ImportColorCoordinates c') => ColorChannel -> LinearAdjustment -> c -> c'Source

Manipulate an arbitrary component of a color.

maximize :: LinearAdjustmentSource

Increase a channel to a maximum in-gamut value.

minimize :: LinearAdjustmentSource

Decrease a channel to it's minimum in-gamut value.

clamp :: LinearAdjustmentSource

Clamp a channel to the gamut.