A script for styling strings.
Go to file
ℳichiel ℛoos 15ec6321c2
Update Readme
2017-05-26 12:48:31 +02:00
color.zsh Add 256 color support 2017-05-26 12:41:53 +02:00
README.md Update Readme 2017-05-26 12:48:31 +02:00

Color

A small zsh script for styling strings.

Installation

zulu install color

Or rename color.zsh to color and place it somewhere in your $PATH.

Usage

# Simple colors
color black "This string will be black"
color red "This string will be red"

# Using short names for colors
color g "This string will be green"
color y "This string will be yellow"

# Using numbers for colors
color 28 "This string will be dark green"
color 250 "This string will be light grey"

# Using styles
color black underline "This string will be black and underlined"
color r b "This string will be red and bold"

Available colors

Available Styles

  • bold (b)
  • italic (i)
  • underline (u)
  • inverse (in)
  • strikethrough (s)