Rule engine: Set color: Set color by numerical value

Say you were going to do this like 100 times about 1 minute apart. Is there any way to only type 100 commands, as opposed to 200 commands?