Color Convert
sublime text 3 plugin, support RGB2HEX & HEX2RGB and more convert mode.
Details
Installs
- Total 9K
- Win 7K
- Mac 1K
- Linux 1K
Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 4 | 1 | 4 | 4 | 8 | 8 | 10 | 8 | 4 | 6 | 7 | 6 | 5 | 4 | 10 | 2 | 2 | 3 | 6 | 5 | 8 | 4 | 0 | 7 | 3 | 10 | 2 | 7 | 6 | 2 | 8 | 1 | 2 | 4 | 7 | 3 | 2 | 5 | 3 | 4 | 4 | 8 | 4 | 3 | 2 | 4 |
Mac | 1 | 0 | 1 | 2 | 2 | 2 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 2 | 2 | 3 | 0 | 2 | 1 | 2 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 |
Linux | 1 | 1 | 2 | 0 | 0 | 1 | 8 | 0 | 1 | 0 | 0 | 1 | 0 | 2 | 0 | 1 | 0 | 1 | 2 | 2 | 1 | 1 | 2 | 2 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 2 | 3 | 2 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 3 | 1 | 2 | 1 | 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
- Select a color declaration (e.g. '#008080', 'rgb(0,128,128)', or 'hsl(39.84,100.0%,25.1%)')
- Mac user can use
cmd+alt+c
, Windows and Linux user can usectrl+alt+c
OR:
- Select a color declaration
- Right click and choose
ColorConvert
, click the mode you need to convert.
Settings
convert_mode
: convert to rgba mode, defaultrgb
capitalization
: whether the converted letters need to be capitalized, defaultfalse
.is_android
: Hex containing transparency is not the same format in android and css,if you are a Android Developer, please change it totrue
.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
- Do not support css3 color:
transparent
andcurrentColor
. - When
RGBA
is converted to other color value(likeRGB
,HSL
etc…) it will lose the alpha value. - 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.