gazebosim / gazebosim/sdformat
Color tags could accept other formats
- Dominant language
- C++
- Stars
- 216
- Forks
- 125
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 14
Description
**Original report ([archived issue](https://osrf-migration.github.io/sdformat-gh-pages/#!/osrf/sdformat/issues/195)) by Louise Poubel (Bitbucket: [chapulina](https://bitbucket.org/%7B5cfa2075-477b-4ded-bdb9-8d2479544ec4%7D/), GitHub: [chapulina](https://github.com/chapulina)).**
----------------------------------------
SDF color tags currently accept normalized color values where each color component can be a value between 0 and 1.
It would be convenient if SDF also understood other formats, such as HEX and 0-255 ranges.
For example, all the following would describe pure red:
~~~
1.0 0.0 0.0 1.0
255 0 0 255
#ff0000ff
~~~
Contributor guide
Assessment
This issue has not been assessed yet.