color sensing
-
how to sense a range of colors or multiple values between two selected colors
-
@ejrowberry09-12248f6d I don’t know what you mean exactly but here are blocks for sensing colors in general:
1st one is from automation, second is in events, and the bottom one is in sensing.Now, to actually answer your question in a helpful way, first, you can use this online tool if you need it for like a one time thing:
https://meyerweb.com/eric/tools/color-blend/#FF0000:990033:10:hex
And for blocks, well blocks for that doesn’t exist.
-
Maybe you can try to use “OR” to combine multiple color sensing blocks?
-
@info-creaticode I mean that I want to do something like select one shade of green and another shade of green, and everything in-between without having to write every hex code manually and hardcode it
-
In that case, it is easier to get the value of the color component and check if it is within a range. For example, if the color component is between 30 and 38, it is some kind of green:
You can go further by checking saturation and brightness as well if you need it to be more precise.