Do you know Firebug? Uh no? Well please make a jump in twentieth century then return here
Firebug has many great features but I love the color preview tooltip, from CSS Tab moving the mouse over a CSS color expression you will see a little box filled with the color found under the mouse pointer.
Every time I edit CSS (and HTML) files from Komodo subconsciously I move mouse over a color waiting to see the tooltip but nothing happens
I’ve realized a macro can do this job so I’ve written ColorInfoTip that adds to Komodo the ability to show colored tooltip.

Some technical detail
This is a macro! No need to create extensions, the Komodo macro ecosystem is very cool and powerful.
The tooltip is a scintilla Call tip accessible from Komodo API.
The CSS color string can be written using many syntaxes like #RRGGBB or rgb(R,G,B) instead of reinventing the wheel and write the parser I’ve used the getRGBColorValue standard DOM method.
I discovered Scintilla uses BBGGRR color format instead of RRGGBB so the CSSRGBColor components have been converted to be Scintilla compliant.
Known problems
The macro isn’t perfect and any help is welcomed
- Sometimes the tooltip doesn’t close especially changing editor view
- Moving mouse quickly doesn’t update the color (fixed)
- fill here the bug you found
ColorInfoTip.kpz
You can download the macro from ColorInfoTip.kpz then open the file from Komodo to install
Amazon wish list