hex related color converter should work
hex related color converter output incorrect for some value
Th P refers to PIXI
P.utils.hex2string(P.utils.rgb2hex([255, 255, 255]))

pixi.js version: 4.8.6It come from rgb2hex !

here a temp fix
https://campushippo.com/lessons/how-to-convert-rgb-colors-to-hexadecimal-with-javascript-78219fdb
ho well here the fix for pixijs
(rgb[0]<<16|rgb[1]<<8|rgb[2])
it seem work

rgb array has values between 0.0 and 1.0 . not 0.0 and 255.0
Maybe we have to be more clear in docs.
That explains a lot of things. I work myself always with a range of 255 in rgb.
Is the term rgb that creates confusion.
I noticed this same problem in my editor at the time.
thank you for enlightening the situation.
OK, its normalized RGB now.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.