Closed
Description
Hello,
I’m openning this issue because I didn’t found any mention of this in the documentation in the page implementation-notes from the library.
There is an existing library colorsys in cpython with the methods named hls_to_rgb
or hsv_to_rgb
and the developper might be tempted to believe that the code running in cpython could run in circuitpython in the same way.
This is wrong : the functions in cpython returns a float with a range from 0…1 where circuitPython return an int between 0…255.
Could you at least add a caveat in the documentation in order to rise the attention on this point ?
Metadata
Metadata
Assignees
Labels
No labels