Skip to content
← Back to Community
ANSI Color Codes
Profile icon
minermaniac447

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: https://Terminal-Colours.tristanbeedell.repl.run
(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: https://repl.it/@minermaniac447/ANSI-Color-Code-Generator

Voters
Profile icon
SabineKanz1
Profile icon
plscodeinjava
Profile icon
RahulChoubey1
Profile icon
minermaniac447
Comments
hotnewtop
Profile icon
plscodeinjava

this thing helped me sooo much
ur awesome :)

Profile icon
RahulChoubey1

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