Skip to content

Instantly share code, notes, and snippets.

@XVilka
XVilka / TrueColour.md
Last active May 18, 2021
True Colour (16 million colours) support in various terminal applications and terminals
View TrueColour.md

Terminal Colors

There exists common confusion about terminal colors. This is what we have right now:

  • Plain ASCII
  • ANSI escape codes: 16 color codes with bold/italic and background
  • 256 color palette: 216 colors + 16 ANSI + 24 gray (colors are 24-bit)
  • 24-bit true color: "888" colors (aka 16 milion)
@tehmaze
tehmaze / google-chrome.sh
Created Dec 30, 2010
Google Chrome Profile launcher for OSX
View google-chrome.sh
#! /bin/bash
#
# Put this script in ~/bin/google-chrome for example, then create
# a symlink to start using it, for example:
#
# shell% cd bin
# shell% ln -s google-chrome google-chrome-test
# shell% ./google-chrome-test
# Try to locate Google Chrome