added a legacy color converter