So I'm making a game in Python and PyGame. I have aliens and blocks that each adopt one of several colors; rather than make several copies of them in different colors, I plan on making the sprite once in white, and recoloring individual aliens and blocks.
Problem is, with PyGame, I only know how to use PixelArrays to replace specific colors with other colors (e.g. pure white with pure red, or (255, 255, 255) with (25, 34, 255)). The sprites aren't going to be super complex, but they will be shaded.
I could use the Python Imaging Library, but I'd kind of like to minimize dependencies. If this is the best way then so be it.
What I'd like to know is this; how can I use color-blending in PyGame? More than anything I'm concerned about color-blending algorithms (that ignore certain desired colors, e.g. black for outlines). Alpha blending is not of concern.