Change the way color values are encoded in metadata files.

Before: <default><red>0xff</red></default>
After: <default>#ff0000ff</default>