change font color #2157

Closed
opened 2026-01-30 22:48:18 +00:00 by claunia · 10 comments
Owner

Originally created by @17Edwin on GitHub (Jun 25, 2019).

i want to change font color when typing command in power shell,

Originally created by @17Edwin on GitHub (Jun 25, 2019). i want to change font color when typing command in power shell,
claunia added the Issue-QuestionArea-OutputResolution-AnsweredProduct-Powershell labels 2026-01-30 22:48:19 +00:00
Author
Owner

@JushBJJ commented on GitHub (Jun 25, 2019):

You can change the font color from your powershell profile in the settings file.

@JushBJJ commented on GitHub (Jun 25, 2019): You can change the font color from your powershell profile in the settings file.
Author
Owner

@antoineco commented on GitHub (Jun 25, 2019):

Take a look at this article: https://dev.to/expertsinside/how-to-customize-the-new-windows-terminal-with-visual-studio-code-56b1
Each profile has a reference to a colorScheme, and some of those schemes are defined in the same file. Full documentation for reference.

@antoineco commented on GitHub (Jun 25, 2019): Take a look at this article: https://dev.to/expertsinside/how-to-customize-the-new-windows-terminal-with-visual-studio-code-56b1 Each `profile` has a reference to a `colorScheme`, and some of those schemes are defined in the same file. [Full documentation](https://docs.microsoft.com/en-us/windows/terminal/customize-settings/color-schemes) for reference.
Author
Owner

@17Edwin commented on GitHub (Jun 25, 2019):

thanks @antoineco , i did it :D

@17Edwin commented on GitHub (Jun 25, 2019): thanks @antoineco , i did it :D
Author
Owner

@torms commented on GitHub (Nov 7, 2020):

there is no reference to font color.. what is the specific setting to change it?

@torms commented on GitHub (Nov 7, 2020): there is no reference to font color.. what is the specific setting to change it?
Author
Owner

@antoineco commented on GitHub (Nov 7, 2020):

@torms next time, instead of down voting, just mention that the referenced link is outdated, that could help other people. Thanks.

For reference, the new doc is here: https://docs.microsoft.com/en-us/windows/terminal/customize-settings/color-schemes

I updated my comment.

@antoineco commented on GitHub (Nov 7, 2020): @torms next time, instead of down voting, just mention that the referenced link is outdated, that could help other people. Thanks. For reference, the new doc is here: https://docs.microsoft.com/en-us/windows/terminal/customize-settings/color-schemes I updated my comment.
Author
Owner

@torms commented on GitHub (Nov 7, 2020):

@torms next time, instead of down voting, just mention that the referenced link is outdated, that could help other people. Thanks.

For reference, the new doc is here: https://docs.microsoft.com/en-us/windows/terminal/customize-settings/color-schemes

I updated my comment.

hello
I already came across the official doc and there is no reference about font color. So for me this issue is not resolved.
Thanks

@torms commented on GitHub (Nov 7, 2020): > @torms next time, instead of down voting, just mention that the referenced link is outdated, that could help other people. Thanks. > > For reference, the new doc is here: https://docs.microsoft.com/en-us/windows/terminal/customize-settings/color-schemes > > I updated my comment. hello I already came across the official doc and there is no reference about font color. So for me this issue is not resolved. Thanks
Author
Owner

@antoineco commented on GitHub (Nov 7, 2020):

It's right here in the example:

"foreground" : "#CCCCCC", 

A terminal emulator typically has

  • A foreground color (color of the characters printed on the screen)
  • A background color (color of what's behind the text)
  • 8 accent colors for highlights

Please note that if you open your settings.json file you'll see this line:

schema": "https://aka.ms/terminal-profiles-schema",

The schema at this URL contains extensive documentation about every supported setting, so that your IDE can show that description to you when highlighted.

@antoineco commented on GitHub (Nov 7, 2020): It's right here in the example: ``` "foreground" : "#CCCCCC", ``` A terminal emulator typically has * A foreground color (color of the characters printed on the screen) * A background color (color of what's behind the text) * 8 accent colors for highlights Please note that if you open your `settings.json` file you'll see this line: ``` schema": "https://aka.ms/terminal-profiles-schema", ``` The schema at this URL contains extensive documentation about every supported setting, so that your IDE can show that description to you when highlighted.
Author
Owner

@SuperHarmony910 commented on GitHub (Dec 29, 2020):

Thanks for the "foreground": #00000 tip!

@SuperHarmony910 commented on GitHub (Dec 29, 2020): Thanks for the `"foreground": #00000` tip!
Author
Owner

@MdSalmanTd commented on GitHub (Jul 26, 2021):

https://prnt.sc/1g04lu9

@MdSalmanTd commented on GitHub (Jul 26, 2021): https://prnt.sc/1g04lu9
Author
Owner

@zadjii-msft commented on GitHub (Jul 26, 2021):

@MdSalmanTd That's because PSReadline automatically tries to syntax-highlight commands as you type them. You can read more about it:

@zadjii-msft commented on GitHub (Jul 26, 2021): @MdSalmanTd That's because PSReadline automatically tries to syntax-highlight commands as you type them. You can read more about it: * [here](https://www.google.com/search?q=psreadline+syntax+highlighting) * or [check out the docs](https://docs.microsoft.com/en-us/powershell/module/psreadline/set-psreadlineoption?view=powershell-7.1)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2157