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

Color Highlight

by Kronuz ALL Top 100

🎨 Lightweight Color Highlight colorizer for Sublime Text

Details

Installs

  • Total 303K
  • Win 225K
  • Mac 43K
  • Linux 36K
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 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12
Windows 3 20 32 28 24 25 15 18 20 25 28 28 25 26 11 27 24 25 32 19 16 12 18 29 29 17 17 12 24 30 23 16 30 29 23 20 40 26 23 28 25 10 19 34 22 25
Mac 0 3 4 9 4 6 1 3 4 8 8 3 5 6 6 4 7 6 6 7 4 3 7 5 6 4 8 3 5 4 8 4 9 5 5 1 7 5 5 10 7 7 2 4 6 6
Linux 1 6 9 10 2 8 5 2 2 9 9 9 6 9 6 8 6 7 8 4 10 3 6 8 13 8 9 6 4 3 6 7 4 8 3 5 6 8 12 5 5 3 8 1 2 4

Readme

Source
raw.​githubusercontent.​com

🎨 Color Highlight

Donate Package Control

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.

Description

Installation

  • Recommended - Using Sublime Package Control
    • Ctrl+Shift+P then select Package Control: Install Package
    • install Color Highlight
  • 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 or 0xRRGGBBAA

  • RBG or RGBA value in the form of rgb(red, green, blue) or rgba(red, green, blue, alpha) with decimal channel values

  • HSL or HSLA value in the form of hsl(hue, sat%, lum%) or hsla(hue, sat%, lum%, alpha)

  • HSV or HSVA value in the form of hsv(hue, sat%, val%) or hsva(hue, sat%, val%, alpha)

  • HWB value in the form of hwb(hue, white%, black%) or hwb(hue, white%, black%, alpha)

  • CIELAB (Lab) value in the form of lab(lum, a, b) or lab(lum, a, b, alpha)

  • Cylindrical CIELAB (LCH) in the form of lch(hue, chroma, lum) or lch(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"
  }

Gutter Icon

  • 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