lumera / guides

LUMERA VECTOR / PRACTICAL GUIDE

How to change SVG stroke colour and width online

Thicken a rectangle’s thin dark border and change it to orange while retaining the pale fill. This edits the line around a shape, rather than the colour inside it.

Checked 22 October 2026 in desktop Chrome with both Russian and English interfaces. Screenshots below show the English controls. Practice documents use original Lumera example content.

Open Lumera Vector ↗ Русская версия →

STEP 01

Open the SVG and select its path

Download stroke-source.svg. Choose File → Open, load it, and click inside the pale rectangle using Selection (V). The right Properties panel should show path properties. The document is 320 × 240 and the rectangle is 200 × 140.

STEP 02

Change the stroke width

In Properties → Appearance, locate Stroke. Click the numeric width field, select its existing value, enter 12 and press Enter. The interface displays 12 pt. Leave Fill unchanged: it controls the inside of the shape.

STEP 03

Set the stroke colour

Click the colour swatch beside Stroke, then the colour palette tab. Replace the hexadecimal value in the # field with D75A32 and press Enter. Close the palette with Esc. An orange border should surround the unchanged pale fill.

STEP 04

Save the project and export SVG

Use File → Save As to download stroke-result.vectorcraft. Then choose File → Export → Export as SVG. Keep SVG 1.1, Internal CSS and UTF-8, enable Use Artboards and disable Responsive to retain explicit dimensions. Click OK.

STEP 05

Reopen the result

Open the downloaded project and SVG in turn through File → Open. Compare the border colour, width and fill. The checked SVG contains one closed path with unchanged coordinates; its CSS contains stroke:#d75a32 and stroke-width:12, with fill:#f4e9cd.

English interface screenshots and results

Follow the corresponding controls in the English editor. Open any screenshot to inspect the details at full size.

The rectangle is selected; Fill and Stroke are available.
The rectangle is selected; Fill and Stroke are available. Click to view full size.
Stroke displays 12 pt; the border is thicker.
Stroke displays 12 pt; the border is thicker. Click to view full size.
HEX D75A32 is applied to Stroke; Fill remains unchanged.
HEX D75A32 is applied to Stroke; Fill remains unchanged. Click to view full size.
SVG is exported using the 320 × 240 artboard.
SVG is exported using the 320 × 240 artboard. Click to view full size.
The downloaded SVG is reopened: the orange stroke and pale fill are retained.
The downloaded SVG is reopened: the orange stroke and pale fill are retained. Click to view full size.

Limits, troubleshooting and saving

The document remains 320 × 240. Exported SVG retains the path coordinates and #F4E9CD fill; the stroke becomes #D75A32 with stroke-width:12. No raster images are added. The SVG and project were reopened. The editor field displays pt, while SVG stores stroke-width:12 in its coordinate system. This exercise does not establish a physical print width. Only a simple closed path was tested. Gradient strokes, dashes, brushes and complex groups were not tested. For changing the interior fill, use the separate change-svg-color guide. The Russian exercise was performed on lumeratools.com. English screenshots and the repeated export were captured in a local preview of the same editor bundle; both exported SVG files matched byte for byte.

Lumera is a beta. This guide describes the checked practice example, not a guarantee for every file or browser. Save the downloaded result and editable project before closing the tab.

English practice-file notes (TXT) ↓

Practice files and results

Use these source files, editable projects and finished examples to follow the guide. Keep your own originals separately.