<info> <name>Jim Campbell</name> <email>jwcampbell@gmail.com</email> <desc>Pick a color from a dialog and insert its hexadecimal representation</desc> </info>

The <app>color picker</app> plugin helps you to insert the character codes that represent a certain color. This can make it easier to choose and use the correct color in your programs.

To enable the color picker plugin, select <guiseq><gui> Edit</gui><gui>Preferences</gui><gui>Plugins</gui><gui>Color Picker</gui> </guiseq>.

To open and use the color picker:

<steps> <item>

Place your cursor at the point in your document where you want to insert the color code.

</item> <item>

Select <guiseq><gui>Tools</gui><gui>Pick Color...</gui></guiseq>. The color picker dialog will appear.

</item> <item>

If the color that you want to select is currently on your screen, click on the icon that looks like an eyedropper.

Your mouse pointer will change appearance, and will look like an eyedropper.

Use the eyedropper and click on the portion of your screen that contains the color you want to use. The color code for that color will appear in the color picker window.

</item> <item>

To insert that color code into your document, click <gui> Insert</gui>. The code will be inserted where you had placed your cursor.

</item> <item>

To close the <app>color picker</app>, click <gui>Close</gui>.

</item> </steps>

You can make fine-grained adjustments to the color by adjusting the values for Hue, Saturation, Value, Red, Green, or Blue.

Additionally, you can save colors by right-clicking on any of the colored boxes in the color picker, and selecting <gui>Save color here</gui>. This will make it easier to insert commonly-used colors later.