Refactor color loading to by DRYer