HexColor extension

on

Methods

toHex({bool leadingHashSign = true, bool includeAlpha = false}) String

Available on Color, provided by the HexColor extension

Static Methods

fromHex(String hexString) Color

Available on Color, provided by the HexColor extension

String is in the format "aabbcc" or "ffaabbcc" with an optional leading "#".