kvision / pl.treksoft.kvision.core / StyledComponent / colorHex

colorHex

(js) open var colorHex: Int?

Text color for the current component given in hex format (write only).

This property gives a convenient way to set the value of color property e.g.:

c.colorHex = 0x00ff00

The value read from this property is always null.