color abbreviation function