asResourceColor

Get color from resource id using and return the color resource

Return

Color resource

Parameters

context

Context to use to get color