Sublime Forum

ColorHelper 3.0 Beta


It’s been a long time coming, but the ColorHelper 3.0 Beta is now available. A number of issues were fixed, a number of things were improved. Some things got the axe, but also new features were added.

The goal was to make it perform better, to make it more flexible in regards to managing colors, and make maintaining the project less of a chore for me, so I don’t hide from giving the project the attention it deserves :smile: .

The new ColorHelper supports more color formats and more color spaces. Did you need the latest CSS syntax (rgb(0 0 0 / 1)? ColorHelper has you covered. Did you need it to support new spaces coming down the pipe like LCH and Lab? ColorHelper supports those.

We’ve even taught it some new tricks. Preview only on selection?

Want to play around with mixing colors?

What about comparing the contrast of colors (in sRGB, HSL, and HWB)?

You can pick up the beta on Package Control and try it out, but it is a beta, and there are a couple of steps. The dependency we need is not yet on Package Control, but we provide a channel repository file that will allow Package Control to locate and install it now. You also have to enable prereleases for ColorHelper. Instructions can be found here:

Give it a try. Let me know what you think, good, bad, or in between.



UPDATE: it works on ST 3211. False alarm.

Seems not working for ST 3211. (I didn’t encounter such an issue when I try it in my ST 4 setup)

I check the http_cache in Package Control’s cache, there IS coloraide in the cached json but somehow the following still happened

Package Control: The dependency 'coloraide' is not available

After manually install coloraide dependency (which I copied from my ST 4 setup), following errors appeared

Traceback (most recent call last):
  File "D:\_Download\Sublime Text Build 3211 x64\", line 125, in reload_plugin
    m = importlib.import_module(modulename)
  File "./python3.3/importlib/", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "D:\_Download\Sublime Text Build 3211 x64\", line 1199, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "D:\_Download\Sublime Text Build 3211 x64\Data\Installed Packages\ColorHelper.sublime-package\", line 9, in <module>
ImportError: cannot import name Color

Not sure it’s a PC issue or CH’s.

1 Like


Did you restart after installing everything? I did perform this on a clean portable ST before making this public to make sure it worked, but a restart after installation is mandatory or things won’t load proper.



Yes, but it remained same errors.

ImportError: cannot import name Color


Let me double check that I ran this in ST3 and not ST4.



I hit github API rate limit hence I installed coloraide manually after that. I would try later with a normal installation process.



Yeah, the github rate limit is a problem. If you git clone it manually, you have to run Package Control’s install local dependency,



ok. somehow it works now. I did nothing since then :slight_smile:



Things will hopefully be smoother once the lib is in Package Control, but the process is slow at times, so this was the best way to start getting it into people’s hands sooner rather than later :slightly_smiling_face:.