don't use std::map for checking color constants