Kirill Grouchnikov
10/22/2025, 7:12 PMInt , passing in the encoded ARGB channels, is there a more "pleasant" way of replacing
Hct.fromInt(0xFFFF0000u.toInt())
with something closer to how it is in Java
Hct.fromInt(0xFFFF0000)
the trailing u.toInt() is just noise when I read this call. The only thing I can think of is adding my own fun Hct.fromLong extension to make it read better in Kotlin.Joshua Hansen
10/22/2025, 7:34 PMColor(0x80DC8300.toInt(), true)Kirill Grouchnikov
10/22/2025, 7:45 PMYoussef Shoaib [MOD]
10/22/2025, 7:56 PMfun Hct.Companion.from(argb: UInt) = Hct.fromInt(argb.toInt())