When I added the color type to the API, I forgot to add support to the grammar used by logic blocks.
The format should be #rrggbb where rr, gg, and bb are two hex digits. Also, since we're using the palette crate for our color calculations, see if it recognizes common color names. If so, we could also support #color as value.
When I added the color type to the API, I forgot to add support to the grammar used by logic blocks.
The format should be
#rrggbb
whererr
,gg
, andbb
are two hex digits. Also, since we're using thepalette
crate for our color calculations, see if it recognizes common color names. If so, we could also support#color
as value.