---
title: Strokes and effects
description: Stroke position, caps and dashes, shadows, glows and blurs, the effects that are really fills, blend modes and opacity in Brilliant.
section: editor
order: 6
featured: false
related: editor/color-and-fills, editor/shaders-and-filters, editor/vectors
---

# Strokes and effects

Strokes outline a shape, and effects add depth with shadows, glows and blurs. Some effects are fills, which decides where they sit in the stack.

## How do I add a stroke?

Press <KeybindingDisplay keyCode="S" modifiers={["shift"]} size="small" /> or click + in the Strokes section of the right panel. Press <KeybindingDisplay keyCode="S" modifiers={["option"]} size="small" /> to remove one. An element can carry several strokes, and each can be a solid, a gradient or an image.

<DocFigure src="/docs/images/editor/strokes-and-effects-strokes.webp" srcMobile="/docs/images/editor/strokes-and-effects-strokes-390.webp" stage="panel" alt="A selected shape with a stroke, and the Strokes section of the right panel" caption="The Strokes section, with a stroke on the selected element." />

| Setting | What it does |
|---|---|
| Weight | The thickness in pixels. Rectangles and frames can set each side. |
| Position | Inside the edge, on center (the default) or outside it. |
| Dash | Solid, dashed or dotted, with dash length, gap length and dash cap. |
| Caps | On open paths and arcs only: round by default, or none, square, arrow and more. |
| Join | How corners meet. |

Press <KeybindingDisplay keyCode="X" modifiers={["shift"]} size="small" /> to swap an element's fill and stroke.

## What is the difference between an effect and a fill effect?

Effects sit at a fixed place in the stack, while fill effects are fills, so they can sit between your other fills. An inner shadow can go between two solids.

<DocFigure src="/docs/images/editor/strokes-and-effects-effects.webp" srcMobile="/docs/images/editor/strokes-and-effects-effects-390.webp" stage="panel" alt="A selected shape with a shadow, and the Effects section of the right panel" caption="The Effects section with a drop shadow." />

### Effects

Add these with + in the Effects section.

| Effect | What it does | Starts at |
|---|---|---|
| Drop shadow | Casts a shadow behind the element | Offset 0, 4; blur 8; 25% black |
| Outer glow | Radiates light from the edge | Blur 8; 60% white; Screen blend |
| Element blur | Blurs the whole element | Radius 4 |

<DocsLiveEmbed kind="controls" scene="effects" lead="Try it: deepen the shadow, light the glow and blur the orb on a real card." />

### Fill effects

Add these from the Effect category of the color picker.

| Fill effect | What it does | Starts at |
|---|---|---|
| Liquid Glass | A refractive glass surface | Tuned defaults |
| Inner shadow | Casts a shadow inside the edge | Offset 0, 2; blur 4; 50% black |
| Inner glow | Glows inward from the edge | Blur 4; 60% white; Screen blend |
| Background blur | Frosts what is behind the element | Radius 8 |

Offsets and blur run to 200 pixels, and spread from -100 to 100. Background blur has no color: it samples what is behind it.

## Where do I set a blend mode?

Each level has its own: the element in the Element section, a fill or stroke in the Settings section of the color picker, and a drop shadow or glow in its expanded row. Normal is the default, and there are 18 modes.

<DocFigure src="/docs/images/diagrams/blend-modes-grid.webp" srcMobile="/docs/images/diagrams/blend-modes-grid-390.webp" stage="panel" alt="Sixteen of the 18 blend modes: the same circle over the same backdrop, from Normal to Luminosity" caption="Sixteen of the 18 blend modes: the same circle over the same backdrop, from Normal to Luminosity" />

## How does opacity work?

Element opacity fades the whole element, while paint opacity fades one fill or stroke from the color picker. The two compound.

| To set element opacity | Press |
|---|---|
| Higher | <KeybindingDisplay keyCode="+" modifiers={["cmd", "shift"]} size="small" /> |
| Lower | <KeybindingDisplay keyCode="-" modifiers={["cmd", "shift"]} size="small" /> |
| To a preset level | <KeybindingDisplay keyCode="0" modifiers={["cmd", "shift"]} size="small" /> to <KeybindingDisplay keyCode="9" modifiers={["cmd", "shift"]} size="small" /> (on text, 7 and 8 make lists) |

## Where next?

- Fills in depth: [Color and fills](/docs/editor/color-and-fills).
- Animated paint: [Shaders and filters](/docs/editor/shaders-and-filters).
- Style your type: [Text](/docs/editor/text).
- Reuse a styled part: [Components](/docs/editor/components).
