Tell the NSImage instance for the icon that it should be a template image. The status element should then make the correct path automatically.
My original answer follows. It describes how to make an effect manually. On Leopard and later you do not need to do anything - just say that the image will be the image of the template, and it should just work.
. , , ; , , .
, , . ( , .) / SystemUIServer ( , ) : -10% , -12% .
Opacity. ; , , 16 16 . ; , : , 90% 88% ; , , 90% 88% .
, . , 90% 88% , ( , 100% ), " ".