set colorname with or statements.