#color #terminal-colors #graphics #rgb #convert #abstraction

ansinator_terminal_colors

A Library to convert an RGB8 color to a 256-terminal color

1 unstable release

0.1.0 Sep 16, 2022

#740 in Graphics APIs


Used in 2 crates (via ansinator_ansi_image)

MIT license

12KB
328 lines

Terminal Colors Abstraction

Provides 256 terminal colors abstraction, providing:

  • Find best approximation to RGB color

No runtime deps