Rainbow tests: how many bits do we need for HSV?