toJSON

fun toJSON(): Int(source)

Returns this color's serialization result: its hexadecimal value. Kotlin equivalent of three.js's toJSON().

Return

The hexadecimal value.