Package-level declarations

Functions

Link copied to clipboard
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.

Link copied to clipboard
fun Color.toColorInt(): Int

Convert this color to a packed argb color int.