compas-dev / compas-dev/compas
Color Error when the inputs are partly `int`
Open
compas_3
- Dominant language
- Python
- Stars
- 386
- Forks
- 122
- Avg merge
- 11d 46m
- Merged PRs (30d)
- 1
Description
**Describe the bug**
As titled.
**To Reproduce**
```python
from compas.colors import Color
color = Color(0.0,0.0,0)
print(Color.coerce(color))
```
```bash
File "\compas\src\compas\colors\color.py", line 585, in coerce
raise ColorError
compas.colors.color.ColorError
```
Contributor guide
Assessment
This issue has not been assessed yet.