StringFS extension

provides extensions for String

on

Methods

toColor() Color?
allows to convert a hex string to Color. Returns null if unable to convert. 3 digit hex codes are also supported.