ColorExt extension

Extension methods on Color to add extra functionality.

on

Methods

lighten([double amount = 0.2]) Color

Available on Color, provided by the ColorExt extension

Lightens the color by the given amount.
toHex({bool includeAlpha = false}) String

Available on Color, provided by the ColorExt extension

Converts the color to a hex string.