Script will do for a basic color change.
Here's an example to make a white sword image:
datablock ShapeBaseImageData(whiteSwordImage : swordImage)
{
doColorShift = true;
colorShiftColor = "1 1 1 1"; //This is the RGB value, in decimals. The fourth value is transparency.
};