ColorExtensions extension

on

Methods

darken([double amount = .1]) Color

Available on Color, provided by the ColorExtensions extension

Darkens the color by amount (0.0 to 1.0)
frostedEffect({double opacity = 0.5, double frostingFactor = 0.1}) Color

Available on Color, provided by the ColorExtensions extension

Creates a frosted glass effect with a slight blur and transparency. opacity determines transparency and frostingFactor applies the blur-like effect.
glassEffect({double opacity = 0.5, double brightnessFactor = 0.2}) Color

Available on Color, provided by the ColorExtensions extension

Creates a glass-like effect by combining transparency and brightness adjustment. The opacity controls the transparency and brightnessFactor adjusts the brightness.
glossyFrosted({double opacity = 0.5, double glossFactor = 0.3}) Color

Available on Color, provided by the ColorExtensions extension

Combines a glossy and frosted effect for a more vivid glass-like look.
glossyTransparent(double opacity) Color

Available on Color, provided by the ColorExtensions extension

Creates a true transparent color with a glossy effect. The opacity value ranges from 0.0 (completely transparent) to 1.0 (fully opaque).
lighten([double amount = .1]) Color

Available on Color, provided by the ColorExtensions extension

Lightens the color by amount (0.0 to 1.0)