|
Re: Translating colors to hex and back PoSH> [System.Drawing.Color]'red'
R : 255
G : 0
B : 0
A : 255
IsKnownColor : True
IsEmpty : False
IsNamedColor : True
IsSystemColor : False
Name : Red
PoSH> ([System.Drawing.Color]'red' ).ToArgb()
-65536
Greetings /\/\o\/\/
"Marco Shaw" <marcoDOTshaw_@_gmailDOTcom> wrote in message
news:%23Mz37NaYHHA.2436@TK2MSFTNGP06.phx.gbl...
> PowerShell/.NET/COM have anything that can take a 'human readable' color
> like "red" and convert it to hex, and vice-versa?
>
> Marco
> |