Logo that changes colors randomly

Hello everyone, I have a logo where each letter is a different color, 4 colors total. The logo will stay on a black background (that will always stay black.) I would like each letter to change randomly or not randomly within those 4 colors, kind of like a screen saver might change. Any idea on how to create this?