AppColorstringX extension

Parses hex strings into Color values.

on

Methods

colorFromString() → Color

Available on String, provided by the AppColorstringX extension

A deterministic color derived from this string (for avatars, tags).
toColor() → Color?

Available on String, provided by the AppColorstringX extension

Parses #RGB, #RRGGBB, #AARRGGBB or #RRGGBBAA strings.