openrndr / org.openrndr.color / ShadableColor

ShadableColor

interface ShadableColor<T> (source)

interface for shadable colors

Functions

shade

shades the color by multiplication

abstract fun shade(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>

ColorLABa

data class ColorLABa : ConvertibleToColorRGBa, OpacifiableColor<ColorLABa>, ShadableColor<ColorLABa>, AlgebraicColor<ColorLABa>

ColorLCHABa

data class ColorLCHABa : ConvertibleToColorRGBa, ShadableColor<ColorLCHABa>, OpacifiableColor<ColorLCHABa>, HueShiftableColor<ColorLCHABa>, AlgebraicColor<ColorLCHABa>

ColorLCHUVa

data class ColorLCHUVa : ConvertibleToColorRGBa, ShadableColor<ColorLCHUVa>, OpacifiableColor<ColorLCHUVa>, HueShiftableColor<ColorLCHUVa>, AlgebraicColor<ColorLCHUVa>

ColorLUVa

data class ColorLUVa : ConvertibleToColorRGBa, OpacifiableColor<ColorLUVa>, ShadableColor<ColorLUVa>, AlgebraicColor<ColorLUVa>

ColorRGBa

color in RGBa space

data class ColorRGBa : ConvertibleToColorRGBa, OpacifiableColor<ColorRGBa>, ShadableColor<ColorRGBa>, AlgebraicColor<ColorRGBa>

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>