Color Panels
Four panels make and hold colors: the Picker, Formats with its Favorites, Harmony and Gradient. This page describes each control on them. Anything they show as a swatch can be dragged: onto the Mockup preview, onto the Favorites frame, or onto the preview while a part is locked in the Style panel.
1. How the panels work together
There is one current color. Picking, typing in Formats and dragging the Harmony wheel's first marker all change it, and the other panels follow. Every swatch, the gradient's included, can be dragged to the places on the right.
2. The Picker
The Picker panel: the magnifier, the big swatch, Pick Color, Live hex and Hide on pick.
- Pick Color starts picking from the whole screen. A magnifier shows the pixels around the pointer, with a crosshair and a square marking the pixel that will be picked. Click to pick that pixel's color.
- While picking, the arrow keys move the pointer one pixel at a time for exact aim, and
Enterpicks the pixel under it. The mouse wheel, or the+and-keys, make the magnifier zoom in and out.Escapeor a right-click cancels the pick. Ctrl+Alt+Zstarts picking too, while Palette's window has the keyboard focus.- Live hex shows the hex value of the pixel under the magnifier while you move. Palette keeps this choice in
palette.conf. - Hide on pick hides Palette's window while you pick, whether the Pick Color button or
Ctrl+Alt+Zstarted it, so that you can pick from what is behind it. The magnifier then follows the pointer as a small window of its own, and Palette comes back when the pick ends. - The big swatch is the current color, drawn over a checkerboard at the alpha set in the Formats panel. Drag it anywhere a color is wanted. While you drag it, it hangs from its top left corner, and that corner marks exactly where it lands.
The magnifier keeps its last image between runs (in last_zoom.dat), and its zoom level too. Edit > Reset Picked Color asks first, then sets the picked color back to black and clears the image. The magnifier's colors and whether its crosshair and square show during and after a pick are settings in palette.conf.
Palette can also copy the current color to the clipboard each time it changes, by a pick, a slider, the Hex field or the Harmony wheel, as hex, RGB, HSV or HSL. That is off at first; see Tips and Troubleshooting.
Under the Picker are the Style controls for the preview. They are described in The Style Panel.
3. Formats and Favorites
The Formats panel: the color space, a slider and spin box for each channel, Hex, the alpha slider, and the Favorites frame.
- The drop-down chooses the color space for the sliders: RGB, Linear sRGB, RYB v1, RYB v2, HSL or HSV. It is Palette's one color space choice: the Harmony wheel and the Gradient panel's first comparison strip follow it too. Each space has its own ranges: 0 to 255 for RGB, for example, 0 to 1 with four decimals for Linear sRGB, and for RYB, HSL and HSV a hue of 0 to 359.99 and the other two channels from 0 to 100, with two decimals. Palette keeps the color space between runs.
- Each channel has a slider and a spin box. Each slider's track shows what moving it would do to the color. The mouse wheel steps a spin box that has the keyboard focus (by 0.01 in the spaces that run from 0 to 1).
- Hex shows the color's hex value, and takes one you type. A value that is not a hex color makes the field flash, and the field goes back to the current color.
- The A slider sets the alpha of the Picker's swatch, and only of the swatch. Its track runs from a checkerboard to the current color, and its handle is the current color. Picking a color sets it back to fully opaque. The Alpha check box adds the alpha to the hex value.
Favorites
Favorites is the frame under the hex row. Beside its Add button a hint reads "Drag to apply, right-click to remove".
- Add keeps the Picker's swatch, at its alpha at that moment. Moving the alpha slider later does not change a favorite.
- Dropping any swatch on the frame keeps its color too. A color that is already a favorite is not added again.
- Drag a favorite onto the preview to use it. A right-click removes it. A plain click does nothing, so a favorite never changes the current color by accident.
- The frame grows a row at a time as colors are added, and the panel scrolls once they do not fit. It holds up to 128 favorites; when it is full, the status bar says so.
Favorites are kept between runs, in palette.conf.
4. Harmony
The Harmony panel: the wheel with its saturation and value triangle, the scheme and its settings, and the scheme's swatches.
A color wheel with a saturation and value triangle, and thirteen schemes: Single, Complementary, Analogous, Split-Complementary, Triadic, Square, Tetradic, Accented Analogous, Compound, Double Triadic, Equidistant (N), Paired (N pairs) and Free. The wheel's color space is the one chosen in the Formats panel: choose RYB for the painter's color wheel.
- The primary marker, the large one, is the current color. Drag it to change the color. Drag any other marker to rotate the whole scheme; that marker then becomes the primary one. Drag in the triangle to change the saturation and value.
- Schemes with settings show them beside the wheel. Equidistant has Steps (2-12), the number of colors spread evenly round the wheel. Paired has Pairs (2-6); Angle, the spread within each pair, whose range (shown in the label) depends on the number of pairs; and Distance, a check box: off, the pairs are spread evenly round the wheel, on, they are the distance you type apart.
- The swatches show the scheme in the gradient's order: the primary color first, then the others counterclockwise round the wheel. Drag them anywhere. Click a hex label under a swatch to copy it to the clipboard; the panel's header shows "copied" for a second.
The scheme, its settings and the Free markers are kept between runs.
Free
Free, just switched to from Paired: it starts with Paired's colors.
Free is a scheme you place yourself: up to 32 markers, each with its own saturation and value, along the wheel from the first marker counterclockwise to the last. It starts with the colors of the scheme you switch from (from Single, only the current color).
- The first marker is the current color: picking, the Formats sliders and Hex move it.
- Click or drag a marker to select it. The triangle then shows and edits that marker's own saturation and value. The current color stays the first marker's.
- While the gradient follows the harmony, each marker is one of its stops, and the two move together:
- The first and last markers are the gradient's ends, at 0 and 100%. They move only on the wheel.
- Dragging an inner marker round the wheel moves its stop, and dragging its stop along the bar moves the marker.
- Markers never pass each other at the ends: an inner marker stops beside the first or the last, and an end stops at the nearest marker you have moved.
- A marker you have moved keeps its color when an end moves; its stop slides along the bar instead. The markers you have not moved stay evenly spaced between their neighbors, and spread out with the ends.
- Add Stop in the Gradient panel adds a marker (the first one adds the last marker, the gradient's end), Remove Stop removes the selected one, and Space Evenly spreads them evenly again.
- With many markers the swatches get smaller and lose their hex labels, so that all 32 fit.
5. Gradient
The Gradient panel: the bar with its stop markers, the square that shows the gradient as it is exported, the comparison strips and the settings.
While Follow Harmony is checked, the gradient's stops are the Harmony wheel's colors and change with it, starting from the current color: the current color is always the gradient's first stop, or its last with Reverse. Stops you add stay as they are. Uncheck Follow Harmony, and every stop is yours.
- The bar always runs from 0% at the left to 100% at the right, so that each marker under it sits under its stop's color. The square beside it shows the gradient as it is exported: at its Angle or radial, with Reverse and Opacity.
- Click a stop's marker to select it, and drag it to move it. Stop at (%) places the selected stop exactly. A selected stop of your own takes the current color as you change the color.
- Add Stop adds a stop after the selected one, in the color the gradient already has there. Stops you have not moved stay evenly spaced between the fixed ones (the ends, the harmony's stops and any you moved), so adding stops one after another spaces them evenly. A stop you drag or place with Stop at stays where you put it. Space Evenly forgets which stops you moved and spreads them all evenly again. Remove Stop takes the selected stop out; while the gradient follows the harmony, only stops you added can be removed (or, with Free, its markers).
- Type: Linear, with Angle (0 to 359 degrees; 0, the default, runs to the top), or Radial, with Size (1 to 200%). The one the type does not use is greyed out.
- Interpolation: the color space the colors blend in: OKLCh, OKLab, LCh(ab), L*a*b*, LCh(uv), JzAzBz, CAM16-UCS, sRGB, Linear sRGB, HSL or HSV. Direction, for the spaces that have a hue (all but L*a*b*, OKLab, sRGB and Linear sRGB, for which it is greyed out), chooses the way round the hue circle: Shorter Hue, Longer Hue, CW or CCW.
- The two strips under the bar compare interpolations: the top one blends in the Formats panel's color space, the lower one in the chosen interpolation.
- Ease sets how the colors blend between stops: Linear, Ease In, Ease Out or Ease In-Out. Opacity sets the whole gradient's opacity. Reverse flips the gradient.
- The SGL drop-down, which has no label of its own, chooses what a gradient of only one color ends in: SGL: Auto, SGL: White or SGL: Black.
- Format writes the gradient as code: Android, CSS3, CSS4, GIMP .ggr, GLSL, Godot, HLSL, iOS Swift, JavaScript, JSON, Stops, SVG or Unity C#; CSS4 at first. A field shows the code on one line. Copy puts the code on the clipboard as it is written, line breaks and all.
The gradient's settings are kept between runs.
The gradient swatch
The Mockup panel's gradient swatch, next to Redo, always shows this gradient. Drag it onto a GTK3, GTK4 or xtk background to make that background a gradient, or onto a GTK2 widget to make the gradient that widget class's background image. For the window managers it shows the gradient the way a window manager gradient takes it; see Window Manager Themes. GTK3 and GTK4 stylesheets draw gradient colors with alpha, so for them the swatch carries the gradient's Opacity; for the other toolkits it stays opaque.





