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

更新时间:2020-07-05 12:21:45

Browse

Color​Hints

by braver ST3 Trending

Inline color hints for Sublime Text

Details

Installs

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

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: