Move the mouse and click on a colour (including black & white parts of the background). Hit space to switch between colour gradients & new set of lines. Just something quickly thrown together from r2dav2's 'glitch'...
***NOTE: the annoying "stop all" trick (in the touching-colour loop) is NO LONGER NEEDED (the relevant Scratch bug was fixed a long time ago) – just use "stop this script instead"... ==================================== The Scratch colour checker appears to only check the first 5 bits of the red & green components, and the first 4 bits of the blue component. This means the total checks needed to find a match is 32*32*16 (just over 16000), rather than the expected 256*256*256 (which is nearly 17 million). It also means, for example, 'white' matches any of: red=248 to 255, green=248 to 255, blue=240 to 255 (and 248/248/240 is clearly 'off-white', if you look at it) while 'black' would match any of: red=0 to 7, green=0 to 7, blue=0 to 15 (similarly 7/7/15 isn't quite black). The 24-bit RGB value is red*65536+green*256+blue.