Color Window
Intro
Create and manage both Library and Scene color palettes.
UI
To set a color either:
- Move the white rings in the color wheel UI.
- Use the Eye Dropper icon to pick any color within the app.
The color swatch can be drag and dropped onto Shapes in the Viewport or to the Palettes below.
Colors can also be set by manually entering Hex, RGB or HSV values:
- Hex - Enter a hexadecimal color code (e.g.
#4ffd7a
). - RGB - Enter an RGB (Reg, Green, Blue) color (e.g.
79,253,122
). - HSV - Enter an HSV (Hue, Saturation and Value) color (e.g.
134, 68, 99
).
Where hex codes contain repeated sequences of characters or numbers, they will be auto-completed. For example, entering AB
and then hitting Return will result in #ABABAB
.
- Swatches
- Generator
Library Palettes
To add a swatch, drag the color swatch from the Color Widget above into the Library Palette.
Clicking a swatch in the Library Palette will change the color in the Color Widget.
To set a Shape's Fill or Stroke Color:
- Drag a swatch directly onto a Shape in the Viewport to set its Fill Color.
- Drag swatches from the palette onto the Fill or Stroke Color attribute in the Attribute Editor on a Layer's color.
- With a Layer's Fill or Stroke Color attribute selected in the Attribute Editor, click a swatch.
- With a Shape selected:
- Click a swatch to set a Shape's Fill color (requires Fill to be checked).
- Option/Alt + click a swatch to enable a Shape's Fill and set its color.
- Shift + click a swatch to enable a Shape's Stroke and set its color.
Library Palettes can also be created manually.
Palettes→Options menu:
- New Palette... - Create a new palette.
- Library - Select the library of palettes to load into the Library Palette drop down menu.
- Import... - Import an existing palette.
- Save As... - Save a version of the palette.
- Rename Palette... - Rename the palette.
- Reveal in Finder/Explorer... - Reveal the palette within your file system.
- Set Gradient from Palette - Set the color stops for a Gradient attribute selected in the Attribute Editor.
- Create Array from Palette - create a Color Array pre-populated with the colors in the palette.
Cavalry supports importing .pal and .ase
(Adobe® Swatch Exchange) filetypes.
Scene Palettes
Color swatches in the Scene Palette are hidden Layers and so can be used to create shared connections between Shapes. They are also saved with the scene.
A Scene Palette swatch can be used to connect several Shapes that share the same color. Any change to the swatch will also update any connected Shapes meaning the color need only be changed once.
Rollover a swatch and use the Connector (the connection anchor will appear on rollover) to create a connection to any Layer that has a Color attribute.
Create a Scene Palette swatch by dragging a Library Palette swatch into the Scene Palette window.
Palette Generator
Generate a palette based on the current key color.
Color - Select the Color Model to generate the palette in:
- RGB - Generate colors using the RGB Color Model.
- LAB - Generate colors using the LCh Color Model (also known as HCL).
Type - Select the type of palette to generate:
- Monochromatic - Generate different shades of the key color.
- Analogous - Generate colors that are next to each other on the color wheel.
- Complementary - Generate colors positioned on opposite sides of the color wheel from the key color.
- Split Complementary - Generate the key color and two colors adjacent to the key color’s complement.
- Triadic - Generate three colors evenly spaced on the color wheel.
- Square - Generate four colors evenly spaced on the color wheel.
- Rectangular (Tetradic) - Generate 2 colors equidistant from the key color on the color wheel and then their complements.
- Golden Ratio - Creates a color palette using the Golden Ratio. This palette type avoids repeating colours and adjacent colours are always different.
Make Harmonic - When checked, any generated colors which are visually very similar are shifted slightly to make them more distinct.
Number of Colors - Specify the number of colors the palette contains. Number of Colors can be set to a value between 2 and 8 except for Split Complementary (6), Triadic (6) and Golden Ratio (20).
Preview - A preview of the palette.
Generate - Click to select an option:
- Save the palette so it can be used in the Library Palette.
- Set Gradient from Palette - With the Gradient attribute of a Gradient Shader selected, set color stops using the palette.
- Create Color Array from Palette - Create a Color Array using the palette.