CustomOpacityAndShade extension

on

Methods

darker([double amount = .1]) Color

Available on Color, provided by the CustomOpacityAndShade extension

Returns a darker version of this color by moving closer to black.
lighter([double amount = .1]) Color

Available on Color, provided by the CustomOpacityAndShade extension

Returns a lighter version of this color by moving closer to white.
withCustomOpacity(double opacity) Color

Available on Color, provided by the CustomOpacityAndShade extension

Apply a custom opacity value (0.0–1.0).