Why do colors in palette slot #7 & 10 display using a color with the Red and Blue values swapped?

$color(7) -> 32764 (0x007FFC)
Draws with color 16547584 (0xFC7F00)

$color(10) -> 9671424 (0x939300)
Draws with color 37779 (0x009393)