Printf with colors
With fisherman
fisher cprintf
cprintf "template" $array
cprintf is intended to work as a normal printf. But with a nifty plus, it can accept a special format for coloring.
For foreground colors use the open fg:color
tag and close it with its corresponding fg
.
For background colors use the open bg:color
and end the coloring with its bg
ending tag
It can be combined too used as a regular printf with params