-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Support 0xRRGGBB colors on Write-Host #16442
Copy link
Copy link
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issuesWG-Interactive-Consolethe console experiencethe console experience
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issuesWG-Interactive-Consolethe console experiencethe console experience
Summary of the new feature / enhancement
As a user I want Write-Host to support specifying full RGB colors on the -Foreground and -Background parameters.
I would also like to be able to specify any of the X11 named colors by name
Proposed technical implementation details (optional)
Instead of needing to write
$($PSStyle.Foreground.FromRgb(0xa020f0))into the string to set a purple color, I want to specify-Foreground A020F0or-Foreground 0xa020f0or-Foreground Purple