ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Color​Hints

by braver ST3

Inline color hints for Sublime Text

Details

Installs

  • Total 12K
  • Win 8K
  • Mac 2K
  • Linux 2K
Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19
Windows 0 2 0 1 1 2 0 0 0 0 0 3 0 1 1 1 0 2 1 0 0 3 3 0 3 5 2 3 2 2 4 0 4 1 1 3 0 1 1 7 3 2 2 2 3 3
Mac 1 0 0 0 0 1 0 0 0 0 0 2 2 0 0 5 1 0 1 0 0 3 0 0 2 0 2 3 3 2 1 1 3 1 0 0 0 0 0 0 2 0 0 3 0 2
Linux 1 2 0 0 0 2 0 0 0 0 1 2 0 0 0 3 1 0 0 0 0 2 0 1 2 2 0 2 1 0 0 0 3 0 0 2 0 0 1 1 2 1 0 0 1 2

Readme

Source
raw.​githubusercontent.​com

ColorHints

Inline color hints for Sublime Text

Call up an inline color box displaying the color at the cursor(s). Live hints can be enabled always, never, or just in specific languages (via scope selectors). The manually called hints will stick around until the file is edited.

ColorHints currently understands:

  • hex(a)*
  • rgb(a)
  • hsl(a)
  • hwb(a)
  • css color names (e.g. “aliceblue” or “rebeccapurple”)
  • Pantone color codes (e.g. “16-1546 TCX” or “Yellow 012 C”)
  • RAL color codes (e.g. “RAL 6034”, “RAL 010 80 10”, “RAL 230-M”)

*) Set the “argb_hex” preference to true for (a)hex, ie. argb in hex values.

Notes

The alpha (opacity) value is not represented in the hint. In these small samples it's impossible to properly judge the opacity anyway, and it's usually more interesting to know the base color.

Thanks to @facelessuser for the utils and libraries that make this possible. The Pantone reference files were dowloaded from Pantone.com.

Related color utilities

This plugin just does what it says on the box: display color hints. Other packages do other nifty things with colors:

Buy me a coffee

☕️👌🏻

Please feel free to make a little donation via PayPal towards the coffee that keeps this labour of love running. It's much appreciated!