Just watch the full video without skipping and you will understand how to change the colour of text and background in the output of a C++ program.
Color codes used in system() function:
1 Blue 9 Light Blue
2 Green 0 Black
3 Aqua A Light Green
4 Red B Light Aqua
5 Purple C Light Red
6 Yellow D Light Purple
7 White E Light Yellow
8 Gray F Bright White
Websites used for reference:
https://www.geeksforgeeks.org/how-to-...
https://stackoverflow.com/questions/9...