How can I output different shades of green to the terminal?
Posted
by Mike
on Stack Overflow
See other posts from Stack Overflow
or by Mike
Published on 2010-05-11T21:10:19Z
Indexed on
2010/05/11
21:14 UTC
Read the original article
Hit count: 263
I'm currently using the following code to output text in green to the terminal:
printf("%c[1;32mHello, world!\n", 27);
However, I want more shades of green. What's the easiest way to accomplish this?
© Stack Overflow or respective owner