ColorExtension extension

on

Methods

toHex({bool leadingHashSign = true}) String

Available on Color, provided by the ColorExtension extension

Prefixes a hash sign if leadingHashSign is set to true (default is true).