toWwkColor

fun ColorRgba.toWwkColor(): Color

Converts to WWK's Color. Relies on Kotlin resolving ColorRgba's Int (0-255) fields to WWK's Color(Int, Int, Int, Int) overload, which normalizes each channel to 0f..1f internally — not the Color(Float, Float, Float, Float) overload, which would treat 0-255 values as already-normalized and produce out-of-range colors.