Color Highlight
🎨 Lightweight Color Highlight colorizer for Sublime Text
Details
Installs
- Total 316K
- Win 233K
- Mac 45K
- Linux 38K
| Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 9 | 13 | 11 | 17 | 16 | 16 | 22 | 23 | 17 | 22 | 14 | 23 | 18 | 15 | 18 | 16 | 11 | 18 | 15 | 23 | 25 | 22 | 9 | 15 | 17 | 29 | 20 | 28 | 12 | 14 | 17 | 26 | 20 | 27 | 32 | 20 | 21 | 22 | 26 | 25 | 16 | 35 | 10 | 13 | 10 | 24 |
| Mac | 2 | 5 | 3 | 4 | 2 | 4 | 6 | 5 | 2 | 1 | 10 | 7 | 6 | 1 | 6 | 3 | 1 | 5 | 2 | 7 | 3 | 5 | 8 | 6 | 7 | 10 | 8 | 5 | 3 | 3 | 3 | 6 | 10 | 10 | 5 | 7 | 2 | 12 | 10 | 11 | 6 | 9 | 6 | 3 | 3 | 5 |
| Linux | 1 | 3 | 2 | 8 | 8 | 4 | 7 | 4 | 11 | 9 | 7 | 13 | 4 | 6 | 12 | 10 | 4 | 7 | 5 | 9 | 1 | 7 | 4 | 2 | 4 | 5 | 6 | 1 | 7 | 4 | 4 | 7 | 10 | 10 | 4 | 8 | 3 | 3 | 5 | 5 | 4 | 5 | 8 | 6 | 8 | 8 |
Readme
🎨 Color Highlight
[!WARNING]
This package is unmaintained!
This package has been unmaintained since 2018 and has been transferred to the SublimeText organization for minimal maintenance. However, besides small bug fixes, there are no further plans for maintenance.
As an alternative, you may want to check out the much more modern Color Helper package.
Show color codes (like “#ffffff”, 0xffffff “rgb(255, 255, 255)”, “white”, hsl(0, 0%, 100%), etc.) with their real color as the background and/or gutter icons.

Installation
- Recommended - Using Sublime Package Control
- Ctrl+Shift+P then select
Package Control: Install Package - install
Color Highlight
- Ctrl+Shift+P then select
- Alternatively, download the package from GitHub into your
Packagesfolder and make sure to rename the directory to “Color Highlight”.
Usage
Supported color representations are:
Named colors in the form of CSS3 color names e.g.
green,blackand many others are also supported.Hexademical in the form of
#RGB,#RGBA,#RRGGBBor#RRGGBBAA(you can use both upper and lower case letters)Hexadecimal numbers with prefix 0x in the form of
0xRRGGBBor0xRRGGBBAARBG or RGBA value in the form of
rgb(red, green, blue)orrgba(red, green, blue, alpha)with decimal channel valuesHSL or HSLA value in the form of
hsl(hue, sat%, lum%)orhsla(hue, sat%, lum%, alpha)HSV or HSVA value in the form of
hsv(hue, sat%, val%)orhsva(hue, sat%, val%, alpha)HWB value in the form of
hwb(hue, white%, black%)orhwb(hue, white%, black%, alpha)CIELAB (Lab) value in the form of
lab(lum, a, b)orlab(lum, a, b, alpha)Cylindrical CIELAB (LCH) in the form of
lch(hue, chroma, lum)orlch(hue, chroma, lum, alpha)ANSI escape sequences: Âľ bit (8-color), 8-bit (256-color), 24-bit (true color) in the form of
\033[3Xm,\033[4Xm,\033[38;5;IIImor\033[38;2;RRR,GGG,BBBm. Escape part accepting “^[[”, “\033”, “\x1b[”, “\u001b[” and “\e[”
Those will be shown with colored background and gutter icons when they're found in your documents.
Configuration
You can disable live highlight directly from the command palette:
Color Highlight: Disable Color HighlightOpen settings using the command palette:
Preferences: Color Highlight Settings - UserGutter icons can be switched among three flavors (or disabled) by using the
gutter_iconsetting:- “circle” - Gutter icon with the color in a circle
- “square” - Gutter icon with the color in a square
- “fill” - Fill whole gutter with color
"user": {
"gutter_icon": "fill"
}

Highlighting the value region in the color can be enabled or disabled by using the
highlight_valuessetting.Enabling/disabling coloring of different types of values can be configured.
License
Copyright © 2018 German Mendez Bravo (Kronuz). All rights reserved.
MIT license
This plugin was initially a fork of https://github.com/Monnoroch/ColorHighlighter