Color-based Selection

Hello
you still ask the same question as there

What is not good on this ?
On your script in order to have the gray area you can use a boolean AND (less than x and more that y)