hexString

fun hexString(prefix: String = ""): String

Hex string representation of this color

Return

String - hex value of this color in string form, with optional prefix

Parameters

prefix

String, optional - prefix to prepend to the hex string ("#" or "0x" for example)