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

Color​Hints

by braver ST3

Inline color hints for Sublime Text

Details

Installs

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

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”)

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: