fromColorInt

fun RGB.Companion.fromColorInt(@ColorInt argb: Int): RGB

Create an SRGB instance from a packed argb color int.


fun RGBInt.Companion.fromColorInt(@ColorInt argb: Int): RGBInt

Create an RGBInt instance from a packed argb color int.