ColorHints
Display color preview hints inline in Sublime Text
Details
Installs
- Total 13K
- Win 8K
- Mac 3K
- Linux 2K
Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 2 | 3 | 2 | 0 | 2 | 0 | 1 | 1 | 1 | 3 | 2 | 0 | 1 | 2 | 2 | 2 | 1 | 3 | 0 | 1 | 5 | 2 | 2 | 8 | 1 | 1 | 0 | 1 | 0 | 2 | 6 | 0 | 5 | 4 | 2 | 2 | 3 | 4 | 3 | 0 | 3 | 2 | 5 | 3 |
Mac | 0 | 3 | 3 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 2 | 0 | 0 | 0 | 1 | 1 | 1 | 2 | 0 | 0 | 0 | 1 | 1 | 1 | 2 | 0 | 0 | 1 | 3 | 1 | 1 | 0 | 0 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 1 |
Linux | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 2 | 0 | 2 | 1 | 0 | 1 | 2 | 1 | 2 | 0 | 2 | 4 | 0 | 0 | 0 | 0 | 2 | 2 | 2 | 0 | 1 | 3 | 0 | 0 | 0 | 2 | 2 | 0 | 0 | 0 | 0 | 2 | 1 | 3 | 1 | 3 | 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 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 @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:
- 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 via PayPal towards the coffee that keeps this labour of love running. It's much appreciated!