Color Highlight
🎨 Lightweight Color Highlight colorizer for Sublime Text
Details
Installs
- Total 315K
- Win 232K
- Mac 45K
- Linux 37K
Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 13 | 10 | 24 | 21 | 20 | 21 | 11 | 12 | 8 | 24 | 23 | 27 | 18 | 10 | 14 | 15 | 11 | 14 | 28 | 12 | 34 | 6 | 11 | 14 | 17 | 27 | 15 | 17 | 18 | 13 | 19 | 27 | 23 | 19 | 12 | 15 | 6 | 17 | 20 | 12 | 17 | 17 | 11 | 14 | 15 |
Mac | 0 | 3 | 3 | 5 | 8 | 4 | 12 | 5 | 2 | 2 | 3 | 6 | 6 | 6 | 3 | 3 | 4 | 1 | 2 | 4 | 4 | 2 | 2 | 6 | 7 | 6 | 9 | 6 | 4 | 5 | 2 | 6 | 11 | 8 | 4 | 8 | 9 | 4 | 1 | 6 | 8 | 5 | 6 | 5 | 1 | 3 |
Linux | 1 | 6 | 8 | 8 | 11 | 6 | 9 | 1 | 4 | 7 | 7 | 5 | 10 | 3 | 9 | 4 | 5 | 7 | 4 | 4 | 7 | 5 | 9 | 4 | 6 | 5 | 8 | 3 | 4 | 4 | 5 | 7 | 5 | 4 | 5 | 2 | 8 | 6 | 5 | 5 | 2 | 4 | 9 | 5 | 1 | 7 |
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
Packages
folder 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
,black
and many others are also supported.Hexademical in the form of
#RGB
,#RGBA
,#RRGGBB
or#RRGGBBAA
(you can use both upper and lower case letters)Hexadecimal numbers with prefix 0x in the form of
0xRRGGBB
or0xRRGGBBAA
RBG 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;IIIm
or\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 Highlight
Open settings using the command palette:
Preferences: Color Highlight Settings - User
Gutter icons can be switched among three flavors (or disabled) by using the
gutter_icon
setting:- “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_values
setting.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