compas
compas copied to clipboard
Color Error when the inputs are partly `int`
Describe the bug As titled.
To Reproduce
from compas.colors import Color
color = Color(0.0,0.0,0)
print(Color.coerce(color))
File "\compas\src\compas\colors\color.py", line 585, in coerce
raise ColorError
compas.colors.color.ColorError