How can we change the foreground color of the serial monitor
Hi @rizwan0333. Are you using Arduino IDE? If so, which version of Arduino IDE are you using (e.g., "2.0.1")? The version is shown on the window title bar and also in the Help > About dialog.
I ask for this information because I want to give you the appropriate instructions for the IDE version you are using.