Styling
Penpot has a variety of styling options for each object. When selected, the styling options are displayed in the design panel on the right.
Color fills
Color fills can be added to boards, shapes, texts and groups of layers. A fill can be a custom color (in Hex) or a color style from a library.
To apply a fill you can use the color picker, the color palette or a color styles.
You can also set the opacity for custom fill colors.
TIP: Select an element and press numbers from 0 to 9 to set their fill opacity. 1 to get 10%, 2 to get 20% and so on. You can set precise opacity by pressing two numbers consecutively in less than a second (for example 5 and 4 to set 54% opacity).
You can add as many fills as you want to the same layer. This opens endless graphic possibilities like combining gradients and blending modes in the same element to create unique visual effects.
Remove a fill
To remove a fill from a selected object, press the “-” button in the fill section.
Color picker
Here you have the anatomy of the color picker:
- Eyedropper - Allows you to pick any color of the objects at the viewport.
- Color profiles - Select between RGB, the Harmony Wheel or HSV.
- Gradients - Set linear or radial gradients.
- Sliders - Easily manage color and opacity.
- Values - Set precise color values of red(R), green(G), bylue(B) and transparency(A).
- Shortcuts - Switch between recent colors and libraries.
- Color palette - A quick launcher of the palette with the selected library.
Color palette
The color palette allows you to have a selected color library in plain sight. Use the menu to easily switch between libraries.
There are three ways to show/hide the color palette:
- From the main menu at the top left navbar.
- Pressing the color palette button the toolbar.
- Using the color palette launcher at the color picker (see previous section).
Use the menu to easily switch between libraries.
Switch between big and small thumbnails sizes.
Applying color from the palette
- Apply color to fill: Just select the shape and click on the desired bullet in the color palette.
- Apply color to stroke: PresAlt (or ⌥ in mac OS) while clicking.
Colors showcase
All of the colors that are contained within a selection of objects are showcased at the sidebar so you can play with the colors of a group without the hassles of individual selection.
Strokes
Strokes can be added to most of the objects at Penpot (rectangles, ellipses, boards, curves and images).
Stroke options are:
- Color and opacity
- Width (in pixels)
- Position - center, outside, inside
- Style - solid, dotted, dashed, mixed
You can add as many strokes as you want to the same layer.
Stroke Caps
Ever needed an arrow to point something? You can style the ends of any open paths selecting different styles for each end of an open path.
The stroke caps options are:
- Line arrow - An simple line arrow (two lines at 45º) with the same width as the stroke.
- Triangle arrow - An solid arrowhead witht the shape of a triangle.
- Square marker
- Circle marker
- Diamond marker
- Round - Adds a round ending to the end of the path.
- Square - Adds a rectangular ending to the end of the path.
Border radius
Border radius can be applied to rectangles and images to edit its corners. There’s also the option to edit each corner individually.
Shadow
Adding shadows is easy from the design panel. You can add as many as you want.
Shadow options are:
- Type - Drop (outside the layer), inner (inside the layer)
- Horizontal position (X)
- Vertical position (Y)
- Blur
- Spread
- Color and opacity
Blur
You can set a blur for each and every object at Penpot.
Applying a lot and/or big values for blurs can affect Penpot’s performance as it requires a lot from the browser.