getComposeColor

fun Context.getComposeColor(resource: String?): Int?

Resolves the given color string into a color for Compose returns the color as Int on success else null