compas-dev / compas-dev/compas

Color Error when the inputs are partly `int`

Open
#1,310 4 comments 0 reactions 1 assignee Claimed by @tomvanmele View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.