ANSI color codes in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

ANSI color codes in java

How to get a rgb ansi color code?

14th Feb 2018, 12:46 AM
Red
Red - avatar
2 Answers
+ 5
It won't work here, but swing provides support for rgb.
14th Feb 2018, 12:57 AM
John Wells
John Wells - avatar
0
Apparently you can use the 256 color “\u001B[38;5;#m”
14th Feb 2018, 1:52 AM
Red
Red - avatar