colorIntToRgbaExpression

fun colorIntToRgbaExpression(@ColorInt() color: Int): Expression

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

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

Return

Expression of rgba color

Parameters

color

Android color int