basic color detecting engine | ScratchStats