fusesource / jansi

Jansi is a small java library that allows you to use ANSI escape sequences to format your console output which works even on windows.
http://fusesource.github.io/jansi/
Apache License 2.0
1.12k stars 139 forks source link

method for converting colors (rgb) into a string of ANSI Escape code … #278

Closed ArtyomKingmang closed 1 week ago

ArtyomKingmang commented 11 months ago

Sometimes, instead of ansi colors, a person for some reason needs to use rgb colors, which is what is added in this PR. More specifically, it implements a method for converting colors (rgb) into a string of ANSI Escape code for ease of use.

Example: Desktop Screenshot 2023 11 27 - 17 03 11 09