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

Color Convert

by obetame ALL

sublime text 3 plugin, support RGB2HEX & HEX2RGB and more convert mode.

Details

Installs

  • Total 13K
  • Win 9K
  • Mac 2K
  • Linux 2K
Sep 17 Sep 16 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
Windows 1 1 0 1 1 0 3 2 1 0 0 0 3 1 1 0 0 0 2 1 0 3 1 1 1 1 2 4 0 0 1 1 2 0 1 2 2 1 0 0 2 3 1 2 0 3
Mac 0 1 0 0 1 0 0 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 2 0 0 0 0 0 0 1 0 0 0 0 1 2 0 1 2 1 0 0
Linux 0 0 1 0 1 0 1 0 0 0 1 2 1 0 1 0 0 0 0 0 2 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

ColorConvert

sublime text 3 plug-in, Support RGB,RGBA,HEX,HSL,HSLA,HSV,CMYK to transform each other.

Installation

  • You can easily install the plug-in through Package Control (https://packagecontrol.io/).

  • If you want to install this plug-in manually for some reason, simply clone this repo into your packages directory (make sure not to put it in the user sub dir).

Instruction

  1. Select a color declaration (e.g. '#008080', 'rgb(0,128,128)', or 'hsl(39.84,100.0%,25.1%)')
  2. Mac user can use cmd+alt+c, Windows and Linux user can use ctrl+alt+c

OR:

  1. Select a color declaration
  2. Right click and choose ColorConvert, click the mode you need to convert.

Settings

  • convert_mode: convert to rgba mode, default rgb
  • capitalization: whether the converted letters need to be capitalized, default false.
  • is_android: Hex containing transparency is not the same format in android and css,if you are a Android Developer, please change it to true.
  • loss_transparent: allow loss transparent in hex_to_colorname, default false.

Support

  • Support RGB,RGBA,HEX,HSL,HSLA,HSV,CMYK to convert each other.
  • Support css3 color name convert to HEX
  • Support convert the color values in the entire page.
  • Support css color name and hex conversion

Notes

  1. Do not support css3 color:transparent and currentColor.
  2. When RGBA is converted to other color value(like RGB,HSL etc…) it will lose the alpha value.
  3. Some values are lost when some precision values are converted to CMYK and HSV, this is the result of the algorithm, so be careful in the process of using it.