Does anybody have a neat and nifty way of converting a bitmap to a color palette consisting of three system colours, e.g. system highlight, background and shadow.

I want to use the bitmaps as backdrops for forms but in such a way as they blend into the existing color scheme.

Cheers