Fairly simple question;
Does anyone know the range of color values in scratch? I find it hard to explain. Say the colors value starts and goes up to 255, then it goes back to 1 and back up again to complete the color wheel. I need a number range so it may be used in this block:
{When Green Flag Clicked
Forever:
--IF <Round(Color)=255>
-------- Set (Color) to (1)
}
But I'm not sure of the full color scale. Any help?
<when green flag clicked>
<forever>
<if><( <round( <{ Color }> <=> 255 )>
<set{ Color }to( 1
<end>
Offline
200... I think
Offline
climber59 wrote:
Colors go up to 200 but so do shades so there are 40000 different colors total.
But that has to do with the "brightness" effect.
The colours go up to 200, to the extent of my knowledge. However, I am curious as to why you might need that script. The colour block goes around infinitely, so even if I went over 200, it would continue to change.
Offline