MTColorValue

data class MTColorValue(val raw: String)

Color wrapper that always encodes as a hex string. Accepts #RRGGBB or #RRGGBBAA (CSS hex). When constructed from a color int, outputs #RRGGBB if opaque, otherwise #RRGGBBAA (alpha at the end).

Constructors

constructor(raw: String)

Types

Properties

val raw: String