Why not RGB distance
RGB math does not match human perception as well as Lab-style distance.

0 to 10 by perceptual distance
The score compares target and guess in a Lab color space, then maps Delta E to a simple 0-10 result.
RGB math does not match human perception as well as Lab-style distance.
Using a pulse hint keeps the game fair by subtracting from the round score.