iosart.com | projects | articles | photos | about

ColorZilla v2 is here

RGBIf you’re not familiar with ColorZilla, it’s a Firefox extension I wrote a while back to help me with my web design and development tasks. Over the years, it became quite popular with web developers and designers.

Anyway, over the course of this past year I added a few new features to ColorZilla (mainly because I needed them for my own work :) ), but because 2007 has been a very busy year for me, I just couldn’t find the time to properly test and release the new stuff to the public. Now, with Firefox 3 just around the corner, I finally took a bit of time to put everything together and release ColorZilla v2.

So, here’s what’s new in ColorZilla v2:

Webpage DOM Color Analyzer
Basically, this feature started with several simple questions - what colors are in use on any given Web page? What HTML elements use them and what CSS rules define those colors? So, Webpage DOM Color Analyzer analyzes a Web page and produces a palette of all the colors on that page. By hovering on any color, you can see what elements use that color, and by clicking on a color you can see a detailed listing of all the CSS rules that apply that color to DOM elements. You can even click on a CSS rule have ColorZilla open the corresponding style sheet file with the rule highlighted.

You can save the page colors as a ColorZilla palette, or open the palette in ColorZilla Online Viewer.

Webpage Color Analyzer

ColorZilla Online Palette Viewer
The online palette viewer is a simple webapp that can be used to view a color palette, bookmark it and share it using any number of bookmarking services such as del.icio.us, Google Bookmarks etc.

It works by providing a simple semantic URL that describes a set of colors:
http://colorzilla.com/colors/COLOR_1+COLOR_2...COLOR_N[/PALETTE_NAME]

Each color should be specified in a hex notation similarly to CSS, so for example red is FF0000 and yellow is FFFF00. The ‘palette name’ portion of the URL is optional.
Here’s an example of a palette URL:
http://colorzilla.com/colors/ff0000+00ff00+0000ff/Simple+RGB+Palette

Click here for an additional example.

When viewing palettes online, you get an online eyedropper (that works in all browsers!) that displays color information in many different formats for any color in the palette.

The online viewer can be opened from the ColorZilla Webpage Color Analyzer, or from the ColorZilla Palette Viewer dialog. The simple format of its URL also allows using it with any other application or Web service - all the application has to do is to generate a list of colors, append it to colozilla.com URL and launch that URL in a browser.

Online Viewer

Additional features

  1. Firefox 3 has a new Full Page Zoom functionality that allows viewing pages at any zoom level and handles both text and images very nicely. With Firefox 3 ColorZilla will use this new functionality for its internal zoomer.
  2. Firebug support - until now, ColorZilla allowed you to quickly open the selected element in Dom Inspector. Now, if you have Firebug installed, it will also allow you to quickly open it in Firebug.
  3. Ubuntu support was added. Basically, because Ubuntu’s Firefox was compiled using a slightly different compiler, ColorZilla eyedropper didn’t work unless you installed an official Firefox build from Mozilla. This version solves this problem by providing two versions of the eyedropper module, one built with the newer compiler (gcc4) and one with the older one.
  4. ColorZilla is now compatible with Firefox 3
  5. 3 new languages were added - Indonesian, Korean, Norwegian. Thanks to the BabelZilla team!

ColorZilla v2 (v1.9) is still in beta, but should be stable enough for everyone to try. Check it out and let me know what you think :)

28 Responses to “ColorZilla v2 is here”

  1. dharma bum Says:

    Wow… thanks so much for these awesome upgrades. I use Colorzilla every day for work and pleasure and didn’t think it could get any better. This is great stuff. Thanks again!

  2. Shanna Says:

    ColorZilla is my most used Firefox-app. As a web developer with over ten years experience, this little plug-in has made life so much better for me - and this new version simply blows it all out the water. Thank you!! I have often wanted to check out the colors on a page or find out which CSS code went with each rule (which I usually accomplished by figuring out the color with ColorZilla and doing a CTRL+F on the style sheet, if available). You’ve made an amazing little program 110% better and solved a helluva lot of little work-arounds & problems for folks all over. Did I say thank you? THANK YOU! Much love - namaste.

  3. Mike Says:

    Great work! Now the only thing to add is export current page palette to Photoshop format :)

    Anyway, thank you a lot for this extension, it’s utterly useful.

  4. vgndeveloper Says:

    I also use this extension everyday, an indispensable extension!!

  5. Chris Charlton Says:

    Dope!

  6. thinlight Says:

    Thanks!
    It’ll be great if the information displayed on status bar can be displayed as a “tip” following the cursor (the eye dropper). Sometimes it’s a bit difficult to pick up a color on a small element (I must look at the left bottom corner of the display to make sure that the right color is selected).

  7. kmm2908 Says:

    Fantastic utility; indispensable to web developers! Still finding new ways to use it!

  8. Reinout van Rees Says:

    That was a nice surprise when I started firefox: a new version of this plugin. I enjoy the palette functionality, thanks!

    Reinout

  9. Curly Brace Says:

    I can’t believe I lived my life without knowing about colorzillla. I’m glad that there are people like you in the world.

    And for all those web developers:

    GET COLORZILLA NOW.

    You won’t regret it :D

  10. Marcio Avila Says:

    I’ve tried ColorZilla v2 beta (1.9) with the Firefox 2.0.0.11 from Ubuntu 7.10 (not the Firefox downloaded from mozilla.com). The extension has installed, but any tentative of using the color picker returns an error dialog (installation error or eyedropper not supported in this platform). In addition, Firebug begun inoperant while this new ColorZilla was installed (restart to work after I uninstalled ColorZilla).

  11. Catnip Says:

    It still has a problem with screwing up the myfirefox and vista_aero themes.

    Every time I use the extension with either of these themes loaded, the icons on the sides of the tabs get duplicated. i.e. If I use the color picker twice, I have three sets of each of the icons.

    There are several others with the same problem, and I was hoping this latest update was a fix for that.

    Heres the firefox discussion with links to screen shots:
    https://addons.mozilla.org/en-US/firefox/discussions/comments.php?DiscussionID=2140

  12. James Dunmore Says:

    Hi,

    Just installed on the lastest Ubuntu (Gutsy), and I still get the error dialogue that I got with the previous verson.

  13. norton Says:

    I’m running Ubuntu 7.10, Firefox 2.0.0.12 with ColorZilla v1.9 installed - the Eyedropper tool produces the ‘mode not supported on your platform’ error message. Any ideas how I can enable this tool? thanks

  14. SaltwaterC Says:

    I encountered the same issue under Ubuntu 7.10, but the solution was rather easy. Colorzilla installs the shared library for the default Firefox build instead of installing the library for Ubuntu which was built with gcc4. I unpacked the extension (basically .xpi is a .zip with XPI extension), I removed the library for Linux and I kept only the gcc4 version (ColorZilla.gcc4.so). You can find it here: /platform/Linux/components/ - where / is the directory where you extract ColorZilla_1.9.xpi. Then you have to zip it again. Hint: do not zip the extraction directory as Firefox won’t find the install script - zip by selecting the all the files/directories from the extract dir, select Create Archive from contextual menu, and save it as zip archive. Then rename the .zip as .xpi. After that install the extension from Firefox with File -> Open File -> new_colorzilla_file.xpi (the name that you used for saving, it could be anything) and restart the browser. Now it should work flawlessly (it works for me :D).

    PS: by installing the gcc4 version you can also obtain a working HTML Validator for Firefox. ColorZilla.so - the default build breaks this extension which is also very useful for Web development if you do care about the syntax validation. Obviously I do care :).

  15. acabre Says:

    I can verify that SaltwaterC’s solution works. To make things easier, you can just save the xpi rather than install it (right click the install link and choose “Save Link As”). Then open it in Archive Manager (just double-clicking it worked for me), go to /platform/Linux/components, highlight the ColorZilla.so, and hit the delete button. Make sure the radio button is set to”Selected Files”, then hit “Delete”. Close Archive Manager, and open Firefox. Then follow the rest of SaltwaterC’s tutorial (for the lazy, in Firefox go to File>Open File and choose the xpi you just modified. Make sure you restart!)

    Thanks Alex for this excellent extension, and SaltwaterC for the much needed fix!

  16. Sam Says:

    Another confirmation re: SaltwaterC and acabre…

    I opened up ColorZilla_1.9.xpi with File Roller (Ubuntu Gutsy/7.10 default handler) and deleted the /platform/Linux/components/ColorZilla.so and then just hit the ‘x’ (close button) on File Roller.

    Then opened up Firefox, opened the Addons window, dragged and dropped the ColorZilla_1.9.xpi file onto the window, clicked install and voila.

    Yet one less reason to develop on M$.

  17. thehawke Says:

    I just tried Saltwater’s fix and had no love. I extracted the xpi, deleted the colorzilla.so file from /platform/linux/components and rezipped the file. Installed it as instructed, restarted firefox but still get the “platform not supported” error. Any idea as to what is wrong?

  18. STop Says:

    Thanks for a great, usefull, no-nonsense extension, the first one I usualy install.
    And kudos to SaltwaterC and acabre for their fix, which I [b]confirm[/b] is working (for me). It even fixes Marc Gueury’s HTML Validator, which has been driving me nuts for months!
    Thanks for you all guys!

    @Sam: did you uninstall the extension prior to fixing?

  19. FireFox Advanced Eyedropper, ColorPicker, Page Zoomer « Maxcode.com Says:

    […] Read more about ColorZilla v2 on this blog post […]

  20. Get a Color Reading From Any Point in Your Browser With ColorZilla Firefox Extension ! Fun Filled Blog Says:

    […] [via] in Free Download Links, Gizmos and Gadgets, Tech Updates and Tips and Tricks. Feed for this Entry Trackback Address […]

  21. teslaw Says:

    Well, still seems broken on 64 bit Ubuntu (Hardy) using firefox 2.0.0.14… probably not 64-bit capable ColorZilla.gcc4.so? Does it work for anybody with 64bit linux system?

  22. h3 Says:

    Still broken under FF3b+Ubuntu Hardy :(

  23. miniman Says:

    Hello,

    At least for me .. SaltwaterC’s solution works. Easy steps:

    1. download xpi file with colorzilla extension on your hd
    2. run mc from shell
    3. go to dir where your xpi file is located
    4. press enter when your cursor will be over xpi file (mc should auto dive into xpi-zip archive)
    5. go to /platform/Linux/components/
    6. remove ColorZilla.so (your xpi file is updated automatically)
    7. get out from xpi archive
    8. open xpi file from firefox menu file/open file..

    for me it worked, tx

  24. miniman Says:

    my distro consist mainly of slackware 12.0 packages

  25. mccord42 Says:

    I can confirm that the ColorZilla.so removal fix for the Picker is NOT working for me on Ubuntu 8.04. It was working fine on 7.10 before I updated.

  26. James Dunmore Says:

    On Hardy Heron, FF3b5
    This fixed colorzilla and html Validator:

    apt-get install libxul-dev libstdc++5 gcc-4.1 libstdc++6
    (along with making sure you reinstall the extensions)

  27. Chris Says:

    James Dunmore is the man. That works for Hardy/FF3b5.

  28. SaltwaterC Says:

    Well, I encountered the same issue with the 64-bit version of Ubuntu Hardy. I decided to install the x86_64 version for my mobile workstation (aka my notebook). While the fixed machine runs smoothly with the x86 version of Ubuntu and ColorZilla installed without any headaches (yes, my method, improved by acabre), x86_64 is a total beeatch … The solution: http://ubuntuforums.org/showthread.php?p=1174435 … Even though you would need to run the 32-bit version, I don’t see any slowdown compared to the 64-bit version of Ff2.

Leave a Reply