There are different ways to achieve this.
First of all, the color or brightness channels can be linked to Switch Item, cause both channels accept ON/OFF commands as well.
If you really want to use the command channel, you need a so called proxy Item (with no linked channel) and the rule examplae from the binding docs. Trigger for the rule would then be the proxy item.