openrndr / org.openrndr.color / SaturatableColor

SaturatableColor

interface SaturatableColor<T> (source)

interface for saturatable color

Functions

saturate

adjust saturation by multiplication

abstract fun saturate(factor: Double): T

Inheritors

ColorHSLa

color in HSL space

data class ColorHSLa : ConvertibleToColorRGBa, ShadableColor<ColorHSLa>, HueShiftableColor<ColorHSLa>, SaturatableColor<ColorHSLa>, AlgebraicColor<ColorHSLa>

ColorHSVa

A color respresentation in HSVa space

data class ColorHSVa : ConvertibleToColorRGBa, ShadableColor<ColorHSVa>, HueShiftableColor<ColorHSVa>, SaturatableColor<ColorHSVa>, AlgebraicColor<ColorHSVa>

ColorXSLa

data class ColorXSLa : ConvertibleToColorRGBa, ShadableColor<ColorXSLa>, HueShiftableColor<ColorXSLa>, SaturatableColor<ColorXSLa>, OpacifiableColor<ColorXSLa>, AlgebraicColor<ColorXSLa>

ColorXSVa

data class ColorXSVa : ConvertibleToColorRGBa, ShadableColor<ColorXSVa>, HueShiftableColor<ColorXSVa>, SaturatableColor<ColorXSVa>, OpacifiableColor<ColorXSVa>, AlgebraicColor<ColorXSVa>