converts colors