Ttibsi / rawterm

C++20 library for building TUI applications
MIT License
7 stars 3 forks source link

Color should take a hex code constructor, and have functions to convert between hex and rgb #47

Closed Ttibsi closed 2 months ago

Ttibsi commented 5 months ago

The latter should probably be static so it can be used outside of a specific Color object, but maybe have myColor.toHex() and myColor.toRGB() methods as well