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

Color​Hints

by braver ST3

Inline color hints for Sublime Text

Details

Installs

  • Total 3K
  • Win 2K
  • Mac 686
  • Linux 458
May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14
Windows 4 8 2 8 4 4 2 2 4 5 6 6 4 2 4 7 9 11 4 1 6 10 7 7 6 6 3 5 8 9 5 10 4 12 6 3 9 9 8 3 5 5 5 12 9 4
Mac 2 6 2 0 2 2 1 1 4 1 1 1 1 1 1 0 1 4 2 2 2 1 6 3 1 1 2 2 3 2 2 0 2 1 3 2 5 2 5 5 2 5 6 1 1 1
Linux 0 2 2 4 4 4 2 1 1 2 1 1 0 1 6 0 0 1 1 1 0 1 2 2 1 3 2 2 2 2 2 1 2 2 1 2 1 5 3 2 1 4 1 2 0 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 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: