Change the color of the sprite to the color of your sprite and run the program to see what the color offset values are for the 'set color effect to' block. When using 'set color effect to' the result depends on the starting color of your sprite. While colors in Scratch run from 1 - 199 with red being at 1, if you have a yellow sprite and do 'set color effect to 1' you do not get a red sprite but a yellow sprite, to get a red sprite you have to 'set color effect to 170'. This is because it appears that the 'set color effect to' value is offset from the value of the color of the sprite.
Credit goes to http://scratch.mit.edu/users/sandboneill/ for the original script http://scratch.mit.edu/projects/2653282/.