Simple colors for your bash scripts
Go to file
2023-11-21 17:54:55 +01:00
example Colors upgrade 2023-11-21 17:54:55 +01:00
colors.png Colors upgrade 2023-11-21 17:54:55 +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 Colors upgrade 2023-11-21 17:54:55 +01: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