0

I am currently working on a project that requires me to display various characters in different colors, but I have no idea how to go about it. Also could it be possible to add slight animations to the code that I make ,that execute in the runtime, if so, then please tell me how it can be done.

For example if I want to display: A B C D E F I want all of them to have a different colour

I tired changing the background and foreground color at various points in the whole code but ,even if it changed the color it changed all of them to the same color.

starball
  • 20,030
  • 7
  • 43
  • 238
  • 1
    Does this answer your question? [How to use the ANSI Escape code for outputting colored text on Console](https://stackoverflow.com/questions/7414983/how-to-use-the-ansi-escape-code-for-outputting-colored-text-on-console) In particular, see [my answer there](https://stackoverflow.com/a/76026809/11107541) that I just wrote. – starball Apr 16 '23 at 09:06

0 Answers0