Simple colors for your bash scripts
Go to file
2024-03-28 17:24:38 +03:00
example added editorconfig 2024-03-28 17:24:38 +03:00
.editorconfig added editorconfig 2024-03-28 17:24:38 +03:00
colors.png Colors 2023-11-21 17:57:30 +01:00
colors.sh Colors upgrade 2023-11-21 17:54:55 +01:00
LICENSE First commit 2023-04-05 17:50:56 +02:00
README.md added editorconfig 2024-03-28 17:24:38 +03:00

colors.sh

Write colored text to the terminal easily.

Color palette

Installation

Download colors.sh and source it in your script or copy/paste the functions and variables into your script.

curl -O https://raw.githubusercontent.com/OzzyCzech/colors.sh/master/colors.sh

Usage

source colors.sh

# with colors.sh sourced, you can use the constants
echo "This is ${RED}red text${NC}"

License

MIT License