Arbitrary color for label compilation error

I'm getting the following error in SDK 1.2.11 when specifying a layout label color using 0xRRGGBB notation.
Specifying a Gfx constant works.
RGB notation works on SDK 2.1.

BUILD: ERROR: Attribute 'color' in ID '' has an invalid value '0xFFFF00'.