colorscripts/cats.ps1

$esc = [char]27


$boldon = "$esc[1m"
$reset = "$esc[0m"

# Cat design (single column)
$cat = @(
    " /\_/\ ",
    " ( o.o ) ",
    " > ^ < "
)

# 6 colors: Red, Yellow, Cyan, Green, Magenta, Blue
$colors = @(31, 33, 36, 32, 35, 34)

Write-Host
for ($row = 0; $row -lt $cat.Count; $row++) {
    $line = ""
    for ($col = 0; $col -lt 6; $col++) {
        $color = $colors[$col]
        $line += "$esc[${color}m$($cat[$row])$reset "
    }
    Write-Host "$boldon$line"
}
Write-Host "$reset"