_extendColors function removed