Color Browser

Compatible with IntelliJ IDEA
Aug 16, 2006
5 968
This plugin allows you to see colors used in Java code and CSS/HTML files. You may also picks colors and insert one of several representations of that color in the current editor.

Download plugin

Recent change notes

Bug Fixes
- Internal error if moving cursor beyond end of line while pressing Ctrl key.
- Some Color and ColorUIResource constructors were not recognized.

General usage instructions

ColorBrowser - Version 0.2.0 for IDEA 5.x NOTE: This version requires IDEA to be executed with JDK 1.5.0 or greater. + Color Browser This plugin allows you to see colors used in Java code and CSS/HTML files. You may also picks colors and insert one of several representations of that color in the current editor. ++ Installation Use IDEA\'s plugin manager to install the latest version of the plugin. ++ User Interface Simply open the Color Browser tool window to begin using the plugin. The interface includes a color chooser with several methods of picking a color. For each of the three supported color types there is an \"Insert -->\" button and a drop down list. The drop down list contains all the supported color representations for that type. As a color is selected the text within each drop down list is updated. Pressing the \"Insert -->\" button places the corresponding text into the editor. If the cursor is currently within the text of a supported color representation the text is replaced with the new color. Otherwise the text is simply inserted at the cursor location. +++ Color Information In the upper left corner is a large rectangle showing the selected color along with its RGB, HSB, and HSL representations. +++ java.awt.Color There is an \"Insert -->\" button and a drop down list containing all the supported java.awt.Color constructors. Pick the desired format to insert into an editor. There is also a button that shows one of the java.awt.Color color constants. If the selected color doesn\'t have a predefined constants then the button is disabled. +++ javax.swing.plaf.ColorUIResource There is an \"Insert -->\" button and a drop down list containing all the supported javax.swing.plaf.ColorUIResource constructors. Pick the desired format to insert into an editor. There is also a button that shows one of the java.awt.Color color constants. If the selected color doesn\'t have a predefined constants then the button is disabled. +++ CSS/HTML Colors There is an \"Insert -->\" button and a drop down list containing all the supported CSS/HTML color formats as defined in CSS Level 3. Pick the desired format to insert into an editor. There is also a button that shows one of the standard SVG color names. This button is disabled if the selected color doesn\'t have an associated SVG name. +++ Cursor Pressing the Cursor button will look at the text around the cursor in the current text editor. If the text represents one of the supported color representations the color will be selected in the tool window. +++ Color Chooser The color chooser contain several tabs for selecting a color in different ways. The current methods are: * Color Swatches * HSB (Hue, Saturation, Brightness) * RBG (Red, Green, Blue) * HSL (Hue, Saturation, Lightness) * Hex (Red, Green, Blue) * SVG Colors (drop down list) * Java Color Constants (drop down list) +++ Editors Pressing and holding down the Ctrl key while moving the mouse cursor around in an editor will display a hyperlink and information window whenever the cursor is over any valid color representation in one of the supported formats. Clicking the left mouse button while a link is displayed will perform the same function as pressing the Cursor button with the caret in the same location as the mouse click.