Can I define color range in Object

I see that you are looking for conditional coloring in Canvas. There are few threads which discuss this in detail.See if it helps:

and there is a GH issue as well

Hope it helps
Thanks
Rashmi

cc @Catherine_Liu