colorToRgbaString

Converts Android color int to "rbga(r, g, b, a)" String equivalent.

Alpha value will be converted from 0-255 range to 0-1.

Return

String rgba color

Parameters

color

Android color int

fun colorToRgbaString(color: Int): String