I need help with how to change the opacity(transparency) of the colours used to fill
the hexagons such that when a hexagon is above a number(say 30 as in the image) the number will still be visible?
e.g I want the hexagons to be transparent so the background will be visible.
Cool project! I took a look at the fill() function’s documentation and found that adding a fourth argument changes the alpha (transparency) value of the color.
Thanks for your contribution and the compliment. I have changed the 4th variable on the code and it didn’t work/fix it.Noel on this forum helped me with the colour fill but the argument he used/uses is quite different from the regular one’s. This seems more advanced, I do not understand it.
Thank you very much for that solution, it made the hexagon transparent but after that the hexagon is no longer draggable. Please see if you can fix it.