moved "if has color"