xlsx: fix output of colour for rich text.

Wrong format "%2x" -> "%02x".
Also reduce use of xml:space to cases where it matters.