The compiler is smart enough to not allocate space for any unused colors. You only pay for what you use.