-
• #2
Thanks - yes, it's a bit frustrating. I was considering adding the option to output as 16 bit, or maybe just building it into the Graphics instance.
Thanks - yes, it's a bit frustrating. I was considering adding the option to output as 16 bit, or maybe just building it into the Graphics instance.
...although it may just be a mistake in the documentation - but it took me surprisingly long to find that out.
From the documentation of E.HSBtoRGB, you might be tempted to write
but this is wrong! You have to write
instead in order to get the expected results!
(Please note: you cannot simply write
as the Bangle.js 2 does not support 24-bit color)
(see GitHub for some examples)
2 Attachments