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