asColor

fun Int.asColor(context: Context): Int

Uses the value of this int as a resource id to parse an android.graphics.Color object