There are lots of solutions to this problem. Here are a couple:
- Add an animation with the hit color and swap between it and the default animation.
- Change the sprites color parameter for a few ticks and the set it back to default
- Overlay the sprite with an invisible sprite with the desired color and a blend mode of add. Set it visible for a few ticks and then invisible again when it is hit.