Added basic color mode parsing