| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<page xmlns="http://projectmallard.org/1.0/" |
| 3 |
xmlns:its="http://www.w3.org/2005/11/its" type="task" style="task" |
| 4 |
id="tools_classic_colors"> |
| 5 |
|
| 6 |
<info> |
| 7 |
<link type="guide" xref="index#tools"/> |
| 8 |
<include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/> |
| 9 |
<credit type="author"> |
| 10 |
<name its:translate="no">Romain F. T.</name> |
| 11 |
<email its:translate="no">[email protected]</email> |
| 12 |
</credit> |
| 13 |
<desc>Manage colors and the way they're applied on the image by a classic |
| 14 |
tool.</desc> |
| 15 |
</info> |
| 16 |
<title>Colors and color modes</title> |
| 17 |
|
| 18 |
<p>When you use a <link xref="tools_classic">classic drawing tool</link>, the |
| 19 |
options are located at the left of the bottom bar: they include two buttons |
| 20 |
with two colors.</p> |
| 21 |
<p>The color of the left button corresponds to the left click, and is usually |
| 22 |
labeled "Main color", while the color at the right is the "Secondary color". |
| 23 |
Click on these buttons to edit their respective colors:</p> |
| 24 |
|
| 25 |
<section> |
| 26 |
<title>Colors</title> |
| 27 |
<p>In the menu, you can select a color directly from the default palette, or |
| 28 |
from the recently picked custom colors at the bottom.</p> |
| 29 |
|
| 30 |
<note style="tip"> |
| 31 |
<p>If the exact color you want isn't listed in the palette (picture at the |
| 32 |
left), click the <gui style="button">+</gui> button to use the color |
| 33 |
editor (picture at the right).</p> |
| 34 |
</note> |
| 35 |
|
| 36 |
<table rules="colgroups"> |
| 37 |
<!-- Unusual width because the pics are in a table, side-by-side, with --> |
| 38 |
<!-- different aspect ratios. --> |
| 39 |
<tr> |
| 40 |
<td> |
| 41 |
<media type="image" mime="image/png" width="100%" its:translate="no" |
| 42 |
src="figures/screenshot_color_palette.png" /> |
| 43 |
</td> |
| 44 |
<td> |
| 45 |
<media type="image" mime="image/png" width="60%" its:translate="no" |
| 46 |
src="figures/screenshot_color_editor.png" /> |
| 47 |
</td> |
| 48 |
</tr> |
| 49 |
</table> |
| 50 |
|
| 51 |
<p>An <link xref="preferences#tools">optional</link> <gui style="button"> |
| 52 |
Color Picker</gui> tool can also help you to select a color. |
| 53 |
While the color picker from within the color editor can select a RGB color |
| 54 |
anywhere on the screen, the <gui style="menuitem">Color Picker</gui> tool |
| 55 |
supports translucent colors but only works for pixels from the image.</p> |
| 56 |
</section> |
| 57 |
|
| 58 |
<section> |
| 59 |
<title>Color application modes</title> |
| 60 |
<p><em>With compatible tools</em>, you can select at the top of the palette |
| 61 |
the way the color will be applied to the image:</p> |
| 62 |
<list> |
| 63 |
<item> |
| 64 |
<p>Normal: the selected color is added over the existing image. If your |
| 65 |
color is semi-transparent yellow and your image is opaque blue, the |
| 66 |
resulting pixels would be opaque green.</p> |
| 67 |
</item> |
| 68 |
<item> |
| 69 |
<p>Highlight: the selected color is added to the lighter pixels only, |
| 70 |
which highlights dark text on light background. The opposite |
| 71 |
(highlighting light text on a dark background) is also possible.</p> |
| 72 |
<note style="tip"> |
| 73 |
<p>The same result can be achieved used the <link xref="preferences#tools"> |
| 74 |
optional</link> <gui style="menuitem">Highlighter</gui> tool.</p> |
| 75 |
</note> |
| 76 |
</item> |
| 77 |
<item> |
| 78 |
<p>HSL modes: these options don't make much sense when you're drawing |
| 79 |
something, but they can help you when editing photos or illustrations.</p> |
| 80 |
<note style="advanced"> |
| 81 |
<p>The idea is to apply <em>only</em> a dimension from the selected |
| 82 |
color in the hue-saturation-luminosity representation, and not the |
| 83 |
other ones.</p> |
| 84 |
</note> |
| 85 |
<p>For example, you can draw with a red hue but not affect the |
| 86 |
luminosity of the existing pixels; or draw with a light luminosity but |
| 87 |
not affect the hue of the existing pixels.</p> |
| 88 |
<media type="image" mime="image/png" width="80%" its:translate="no" |
| 89 |
src="figures/screenshot_hsl.png" /> |
| 90 |
</item> |
| 91 |
<item> |
| 92 |
<p>Raw source color: the selected color replaces the pixels where it's |
| 93 |
applied. If your color is semi-transparent yellow, the resulting pixels |
| 94 |
would be semi-transparent yellow.</p> |
| 95 |
</item> |
| 96 |
<item> |
| 97 |
<p>Difference: the resulting color is the difference between the |
| 98 |
selected color and the existing pixels.</p> |
| 99 |
</item> |
| 100 |
<item> |
| 101 |
<p>Erase: deletes any color where the tool is applied.</p> |
| 102 |
<note style="tip"> |
| 103 |
<p>The same result can be achieved using the <link xref="preferences#tools"> |
| 104 |
optional</link> <gui style="menuitem">Eraser</gui> tool.</p> |
| 105 |
</note> |
| 106 |
</item> |
| 107 |
</list> |
| 108 |
<note style="warning"> |
| 109 |
<p>Not all tools are compatible with these color application modes!</p> |
| 110 |
</note> |
| 111 |
</section> |
| 112 |
|
| 113 |
</page> |
| 114 |
|