I'm not clear on what you are doing - neither 256 x 192 nor 480 x 360 are standard CGA resolutions, but other resolutions were used

are you emulating CGA graphics on a modern computer?

I have no idea what a 'near' CGA palette is - details of the IBM CGA standard are outlined here: http://cs.mcgill.ca/~rwest/wikispeed...cs_Adapter.htm

if you are emulating then you can use a bitmap editor [eg photoshop in index color mode] to change the palette - but depending on the program you may not be able to save/export this below 256 colours, in which case as sculptex said, you can import, then export that way from xara [but you can't edit the bitmap palette in xara just reduce it down]