ColorConverter rewritten