color

fun Int.color(): Color

Creates a new Color instance from an ARGB color int. The resulting color is in the ColorSpace.Named.SRGB color space.

Author

Arnau Mora

Since

20220106

Return

A non-null instance of Color

See also