Skip to content

Instantly share code, notes, and snippets.

@KillyMXI
Created June 11, 2017 13:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KillyMXI/6a66e7e5b34fd87a25f969e6ef28af84 to your computer and use it in GitHub Desktop.
Save KillyMXI/6a66e7e5b34fd87a25f969e6ef28af84 to your computer and use it in GitHub Desktop.
Terminal colors table (PowerShell)
$cs = @("Black","White","Gray","DarkGray","Red","DarkRed","Green","DarkGreen","Blue","DarkBlue","Cyan","DarkCyan","Magenta","DarkMagenta","Yellow","DarkYellow")
foreach ($tc in $cs) {
foreach ($bc in $cs) {
write-host " 123 " -foregroundcolor $tc -backgroundcolor $bc -noNewLine
}
write-host
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment