Tag 'conversion':

Hex to ANSI
May 20th, 2015

ANSI colors conversion hexidecimal script terminal
Annual hours saved: 2

Gist – This is a pretty low-tech bash function to convert a hex color code (e.g. #f83a22) to an ANSI foreground or background color (e.g. \e[38;5;202m).

Your E-Sheep:

( change )

Recent Posts:

10/14 - ADHOC Changelog
8/19 - And now… random puppies!
8/3 - Check Braces
7/23 - Make Limits Java Heap Size on 32-bit Linux
7/21 - Terminal Color Support in Makefiles

Top Tags:

aaaaargh! algorithms automatic awesome colors config development environment documentation frustrating java linux make parsing project management random syntax-highlighting terminal types

Random Quote:

A bargain is something you don’t need at a price you can’t resist.
Franklin Jones

Powered By:

2017 - Creative Commons 3.0