colorWithOpacity

fun View.colorWithOpacity(@ColorRes res: Int, @IntRange(from = 0, to = 100) opacity: Int): Int

Get color from resources with applied opacity