Properties
Functions
Link copied to clipboard
fun Color.Companion.decode(raw: String, vararg decoders: ColorDecoder = arrayOf(
HexColorDecoder,
RgbColorDecoder,
RgbaColorDecoder,
HsvHslColorDecoder,
NamedColorDecoder,
)): Color?
Decodes a Color from a raw string using the first decoder that successfully decodes it.
Link copied to clipboard