Allow colors in the form #RRGGBB (ie w/o alpha).
On input, ignore % w/o a { after.

This allows eg “Battery 88%” in the input w/o messing
up the colors.
Avoid compiler warning about ignore return from write.