getColorIntWithTransparency

fun getColorIntWithTransparency(@IntRange(from = 0, to = 100) transparency: Int, colorInt: Int): Int

Get the color-int by transparency and colorInt.

If the given colorInt itself has transparency, it will be forced to the transparency specified by transparency.

Since

0.5.3

Throws