Color Convert
sublime text 3 plugin, support RGB2HEX & HEX2RGB and more convert mode.
Details
Installs
- Total 13K
- Win 9K
- Mac 2K
- Linux 2K
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 2 | 0 | 3 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 1 | 0 | 1 | 3 | 1 | 2 | 1 | 0 | 1 | 2 | 0 | 3 | 0 | 3 | 0 | 0 | 0 | 3 | 0 | 0 | 2 | 1 | 1 | 1 | 3 | 1 | 0 | 1 | 1 | 2 | 1 | 2 | 2 | 1 | 0 | 1 |
Mac | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 3 | 0 | 0 | 0 | 3 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
Linux | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 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.