extractColors -> splitColorDefinitions
dealColorDefinitions shortened

cellfun with deal instead of for loop
iscolordefinitions: vectorized and shortened