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

Sublime​Web​Colors

by jbrooksuk ST2/ST3

Sublime Text Plugin for CSS Web Colors and expanding hex codes.

Details

Installs

  • Total 8K
  • Win 5K
  • OS X 2K
  • Linux 1K
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 Sep 11 Sep 10 Sep 9 Sep 8
Windows 2 3 1 1 2 1 1 3 1 3 1 1 3 4 0 1 0 4 2 0 2 1 4 1 1 2 2 2 3 6 2 5 2 3 4 5 2 3 0 2 3 1 0 3 1 0
OS X 0 1 3 0 0 0 0 0 1 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 1 1 3 1 0 1
Linux 0 1 0 0 0 0 0 2 2 1 0 0 1 0 0 2 1 0 0 0 2 2 0 0 0 1 1 0 2 0 1 0 0 1 0 0 1 0 0 0 0 1 1 1 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeWebColors

SublimeWebColors is a plugin for the growing popular editor Sublime Text. It simply lists all CSS3 color names indigo, gold, firebrick etc and expands them to their representing hex codes; #4B0082, #FFD700, #B22222.

SublimeWebColors also appends all CSS3 color names such indigo, gold, firebrick into the query suggestions list.

Compatibility

This plugin is fully compatible with Sublime Text 2 and 3!

Installation

Easiest way is to install via Package Control, just search for “SublimeWebColors”.

If you don't have Package Control (which you should do, it's amazing) then you can use Git. Just clone this directory to your Sublime Text /Packages directory.

Usage

Completions will only be displayed when the cursor is under a CSS scope. This is currently static, however I plan on adding a way to add scopes via a configuration file.

  • Windows: The default binding is set to ctrl+shift+u
  • Linux: The default binding is set to ctrl+shift+u
  • OSX: The default binding is set to super+shift+u

You can change these by overwriting the appropriate *.sublime-keymap

Credit

webcolors.py is a Python library developed by James Bennett, see BitBucket for his code.

License

MIT - http://jbrooksuk.mit-license.org