ReactiveColor extension

Extension for Reactive<Color> providing common color utilities.

on

Properties

isDark bool

Available on Reactive<Color>, provided by the ReactiveColor extension

Returns true when the current color is perceived as dark.
no setter

Methods

darken(double factor) → void

Available on Reactive<Color>, provided by the ReactiveColor extension

Darkens the current color toward black by factor.
invert() → void

Available on Reactive<Color>, provided by the ReactiveColor extension

Inverts the current RGB color channels.
lighten(double factor) → void

Available on Reactive<Color>, provided by the ReactiveColor extension

Lightens the current color toward white by factor.