Description
Currently material.vis.to_threejs()["color"] is an int
Typically in Python rgb colors are 3-tuples r,g,b with each value in [0,1] or css like strings '#bfbfc4'
Steps to Reproduce
import stainless
print(stainless.vis.to_threejs()["color"])
# 12566468
Expected Behavior
import stainless
print(stainless.vis.to_threejs()["color"])
# (0.7490196078431373, 0.7490196078431373, 0.7686274509803922) or "'#bfbfc4'"
Actual Behavior
see above
Environment
any
Additional Context
No response
Possible Solution
No response
Changelog Category
Fixed
Description
Currently
material.vis.to_threejs()["color"]is anintTypically in Python rgb colors are 3-tuples r,g,b with each value in [0,1] or css like strings
'#bfbfc4'Steps to Reproduce
Expected Behavior
Actual Behavior
see above
Environment
any
Additional Context
No response
Possible Solution
No response
Changelog Category
Fixed