creates a list of ContextColor using a color array.
fun IntArray.toContextColorList(): List<ContextColor>