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

Color​Hints

by braver ST3

Inline color hints for Sublime Text

Details

Installs

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

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 classic color codes (e.g. “RAL 6034”)

*) 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!