ColorHints
Display color preview hints inline in Sublime Text
Details
Installs
- Total 14K
- Win 9K
- Mac 3K
- Linux 3K
| 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 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 2 | 1 | 6 | 1 | 0 | 1 | 1 | 2 | 1 | 2 | 1 | 0 | 1 | 2 | 1 | 1 | 1 | 5 | 0 | 0 | 4 | 0 | 0 | 2 | 0 | 3 | 3 | 4 | 1 | 4 | 1 | 1 | 0 | 1 | 2 | 2 | 2 | 1 | 1 | 1 | 3 | 0 | 1 | 4 |
| Mac | 1 | 0 | 0 | 0 | 3 | 0 | 1 | 0 | 0 | 0 | 3 | 1 | 2 | 0 | 1 | 2 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 1 | 0 | 2 | 1 | 0 | 1 | 2 | 0 | 0 |
| Linux | 2 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 3 | 0 | 2 | 0 | 1 | 1 | 0 | 2 | 1 | 2 | 1 | 1 | 1 | 0 | 1 | 1 | 3 | 0 | 0 | 0 | 0 | 3 | 0 | 1 | 0 | 0 | 1 | 0 | 2 | 2 | 0 | 0 | 2 | 1 | 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 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 Isaac Muse for the utils and libraries that make this possible. The Pantone reference files were downloaded 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:
- Convert colors between RGB, Hex, HSL, etc: Color Convert
- Integrate with OS native Color picker
Buy me a coffee
Please feel free to make a little donation towards the coffee that keeps this labour of love running. It's much appreciated!