Implemented color parameter to sprite drawing functions.