Sample Header Ad - 728x90

Display a message in color by a conventional color name such as Red, Green, Blue, etc

2 votes
3 answers
1111 views
WSL with Ubuntu 18.04 and GNU bash, version 4.4.20(1)-release (x86_64-pc). I wish to display a message with a *conventionally named color* via argument such as -red, or -green, or -blue or anything like this (**Without an end user required to define colors with machine syntax**). I don't think that even the modern versions of printf or echo can do that. I'd prefer a shell-builtin and not installing anything.
Asked by Lahor (123 rep)
Mar 12, 2022, 12:25 AM
Last activity: Mar 12, 2022, 10:36 PM