I am just working on a bigger WebGL project, using the three.js framework. I am also using Blender as my 3D Software and the latest version of the three.js blender exporter.
While developing I noticed, that colors seem to be slightly different from the colors I picked in Blender.
I started tweaking colors via code and when I told the purple material at the straw for example to be the hexcode from Blender (#9081E7), this is what my webgl result looks like:
I think it's safe to say that the result looks more like the colors from Blender.
Now my question is: why is this happening? And how can I fix it, without telling every single material to have a specific hexcode?
I looked into my straw.json file and noticed that the three.js exporter is exporting colors in rgb values like so:
"colorDiffuse": [0.278894,0.219526,0.799103]
Is it possible that the engine rounds these values what causes the difference in color?
Thanks in advance


