swapped colors refined type.