Three mug drawings with the same outline and background: unfilled, red and blue. The order of three layers appears below.
Original Para Tu Rato illustration. Layer-separation example; not a Krita screenshot.
Technology / Explainer

Krita: change a drawing’s colour without losing its linework

One mug, three layers and a simple change: turn red into blue while keeping the outline. A guide to understanding where you are painting and saving a project you can keep editing.

A red mug that can still become blue

The mug’s red does not look right. If everything was painted together, changing it can damage the black edge. Krita composites layers from bottom to top: transparency reveals underlying layers. Separating linework, colour and background lets you change one decision while keeping the others.[1]

This exercise proposes something small: a mug on a table, first red and then blue. The useful result is not a perfect illustration. It is three parts you can change separately. The accompanying diagram shows that structure using an original drawing, without reproducing the application’s interface.

1. Give three layers a clear purpose

Create a document; for practice, we suggest 1600 × 1000 pixels. This is not a Krita requirement. In the Layers docker, the add button creates a paint layer by default: it works with pixels, like the drawing we are about to make. Add enough to have three layers.[2]

Name them Background, Colour and Linework, in that order from bottom to top. Separate table and wall, mug fill and outline. Keep the top layer transparent except for the lines: filling it white would cover the layers below.[1]

2. Draw the outline and check where you are painting

Select Linework for the outline and Colour for painting the mug. The highlighted row shows where you paint. The eye hides a layer without deleting it.[3]

Try a simple check: hide Colour. The red body and handle should disappear while the outline and table remain. If a line vanishes too, it was on the wrong layer. Undo that stroke and select the correct layer before repeating it. Check early, while fixing it is still straightforward.

3. Change the red without leaving its shape

Once the red shape is finished, enable Colour’s alpha lock: it preserves transparency. Paint the body and handle blue; the linework remains separate.[3]

Before changing it, you can duplicate Colour to keep a red alternative. Hide the backup and work on one visible version. That is the point of the diagram’s comparison: the mug’s interior changes while the outline, steam and background retain their drawing. Choosing another colour no longer means starting again.

If something goes wrong, check these three things

Layer lock prevents edits; alpha lock preserves transparency. If Colour is empty, disable alpha lock before drawing a new shape.[3]

If imported linework has a white background, it is not transparent. For black lines on white, the Multiply blending mode allows underlying colours to show through the white. This is different from deleting that background. It is unnecessary for this exercise’s transparent linework.[4]

If the mug is blue but small red patches remain, alpha lock does not recolour them automatically: you still need to paint them. Check the handle too. If a selection is active, check whether it is limiting the editable area before blaming the layers.

4. Save the drawing you can keep changing

Save the work as a .kra file: Krita’s native format preserves its layers and properties. That is the project you will return to when changing the mug, moving a part or continuing to draw. A finished image does not replace that editable structure.[7]

Then export a PNG copy under a different name. The documentation recommends keeping the KRA original first; PNG is for sharing the image, including transparency when exported with alpha. Do not flatten the layers in your only working file to obtain that copy.[6]

To finish the exercise, reopen the KRA and check that you can hide Colour without losing Linework or Background. That is worth more than accumulating unnamed layers. Next time a choice does not look right, you will know which part to change and which part to leave alone.

Sources and checks

Company documentation details announcements and specifications, while reports, analyses, and user accounts provide external context. Multiple pages from one company do not represent independent verification, and external links do not constitute editorial endorsement.

  1. [1] Krita · capas y máscarasDocumentation · Checked on 18 October 2026

    Compositing order and transparency; application manual.

  2. [2] Krita · capas de pinturaDocumentation · Checked on 18 October 2026

    Creation and nature of paint layers.

  3. [3] Krita · panel de capas y bloqueosDocumentation · Checked on 18 October 2026

    Active layer, visibility and the distinction between locks.

  4. [4] Krita · modo MultiplicarDocumentation · Checked on 18 October 2026

    How Multiply behaves with white and black.

  5. [5] Krita Foundation · organización del proyectoOfficial source · Checked on 18 October 2026

    Supports the organisation details in the facts box. Website and manual belong to the same project; they are not independent tests.

  6. [6] Krita · guardar y exportar para la webDocumentation · Checked on 18 October 2026

    Keep the KRA before exporting an image.

  7. [7] Krita · formato nativo KRADocumentation · Checked on 18 October 2026

    What the native working file preserves.

Was this useful? Rate this article
Checking ratings availability…

Rate the usefulness of the article, not the product. Voting stores a browser cookie; a browser is not a unique person.

View article ratings · Privacy

Text written with AI assistance. Editorial responsibility: José Antonio Domínguez Carbonell. How we work.