getColor

fun getColor(@ColorRes id: Int): Int

Function to get Int value of color

Return

Int value of the color from the given Id

Parameters

id

Id resource of the color