toJSON

fun toJSON(): Int

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

Return

The hexadecimal value.