Skip to content
Sign upLog in
ANSI Color Codes
Profile icon

Hey, I was working on a project that needed colored output and figured this'd be something that other people could use. This doesn't support anything except for foreground (text) and background colors. To get a list of the color codes, go here:
(BTW, the second thing printed is the end code. You must put this after the text you want colored to make it return to normal.)

Link for thing in case it breaks again:

You are viewing a single comment. View All
Profile icon

you can also make italic, bold, etc. with ANSI