color: add a BGRToRGB converter

(integrated from trunk branch change 3f403b1 by Todd Whiteman <toddw@activestate.com>)