Skip to content

Support 0xRRGGBB colors on Write-Host #16442

Closed
@Jaykul

Description

@Jaykul

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 A020F0 or -Foreground 0xa020f0 or -Foreground Purple

Metadata

Metadata

Labels

Issue-Enhancementthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesWG-Interactive-Consolethe console experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions