1
<?xml version="1.0" encoding="utf-8"?>
2
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="plugin-color-picker" xml:lang="sv">
5
<link type="guide" xref="gedit-plugin-guide#gedit-additional-plugins"/>
6
<revision version="3.4" date="2013-02-24" status="review"/>
9
<name>Jim Campbell</name>
10
<email its:translate="no">jwcampbell@gmail.com</email>
13
<desc>Pick a color from a dialog and insert its hexadecimal representation.</desc>
16
<title>Color Picker</title>
18
<p>The <app>Color Picker</app> plugin helps you to insert the character codes
19
that represent a certain color. This can make it easier to choose and use the
20
correct color in your programs.</p>
22
<p>To enable the color picker plugin, select
23
<guiseq><gui style="menu">gedit</gui><gui style="menuitem">Preferences</gui>
24
<gui>Plugins</gui><gui>Color Picker</gui></guiseq>.</p>
27
<title>To open and use the color picker:</title>
29
<p>Place your cursor at the point in your document where you want to
30
insert the color code.</p>
33
<p>Select <guiseq><gui>Tools</gui><gui>Pick Color…</gui></guiseq>. The
34
color picker dialog will appear.</p>
37
<p>Click on the desired color in the color picker window.</p>
40
<p>The appropriate color code will be inserted where you had placed your
44
<p>To close the <app>color picker</app>, click <gui>Close</gui>.</p>
48
<!--TODO: Update this section for the "Custom" values -->
50
<p>You can make fine-grained adjustments to the color by adjusting the
51
values for Hue, Saturation, Value, Red, Green, or Blue.</p>
52
<p>Additionally, you can save colors by right-clicking on any of the
53
colored boxes in the color picker, and selecting <gui>Save color
54
here</gui>. This will make it easier to insert commonly-used colors