> ## Documentation Index
> Fetch the complete documentation index at: https://sudomock.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The base URL is https://api.sudomock.com.
> Authenticate every request with the x-api-key header. Keys begin with sm_.
> A render returns the finished image at data.print_files[0].export_path. A request sent with is_async true returns a job_id to poll at GET /api/v1/jobs/{job_id}.
> Prefer the official SDKs over hand-written HTTP calls: npm install sudomock for Node, pip install sudomock for Python.

# Why did my stroke colour change after rendering

> Where a Stroke effect takes its rendered colour from.

A Stroke renders in the colour stored on the effect itself, read from the file
when you upload the template. That colour arrives in whichever mode the
Photoshop colour picker was in when you set it, and a file authored for print
often carries CMYK or Grayscale swatches on its effects while the document
around them looks ordinary.

Both of those modes are converted to sRGB on upload, so what renders is the RGB
equivalent of the swatch rather than the ink values. A colour sRGB cannot hold
exactly lands on its nearest equivalent, which accounts for a small shift. A
swatch set from a picker further afield, a Lab colour or one lifted from a spot
colour book, is stored as black, which accounts for a large one: the stroke
keeps its width and its position and loses only its colour.

## How to identify this issue

* The stroke has the right width and the right position, and only the colour is
  wrong.
* The wrong colour is black, or a duller version of a saturated colour.
* The swatch was set from a picker other than RGB, a Lab or spot colour book
  among them, or the document colour mode is not RGB.

## Solution

<Steps>
  <Step title="Reset the swatch from the RGB picker.">
    Open **Layer > Layer Style > Stroke**, click the colour swatch, and switch
    the picker to RGB before choosing the colour again. Photoshop keeps the mode
    you used last, so this is worth checking on every effect in the file rather
    than only the one you noticed.
  </Step>

  <Step title="Convert the document to RGB.">
    Other colour modes are converted on upload, and converting in Photoshop
    while you still hold the ink values leaves the decision with you.
    [Preparing a PSD](/docs/psd-mockups/preparing-a-psd) carries the rest of the file
    requirements.
  </Step>

  <Step title="Upload the file again.">
    Effect colours are read at upload and stored with the template, so a
    template registered a while ago carries the record made then, and a
    correction reaches your renders only through a new upload. The new template
    carries its own UUID.
  </Step>

  <Step title="Render at the template's own width and compare.">
    Export the same file from Photoshop at the same width and set the two side
    by side, rather than judging the render against the Layers panel.
  </Step>
</Steps>

## Two strokes on one layer

Photoshop allows more than one Stroke on a layer, and both render, in the order
the file keeps them. A sticker wordmark built from an inner coloured ring and an
outer white ring keeps both rings, so a missing ring is a question about the file
rather than about the order.

A layer whose Fill is at zero still shows its stroke. Fill reduces the fill
pixels only and the style renders at the layer's opacity, which is how a border
built from a stroke alone survives.

## Get more help

[PSD compatibility](/docs/psd-mockups/psd-compatibility) lists every effect that
renders as authored, and
[What PSD features are supported](/docs/faq/what-psd-features-are-supported) shows
how to read one specific file. If the swatch is RGB, the document is RGB and the
colour is still wrong,
[contact support](https://sudomock.com/contact) with the mockup UUID and the
layer name.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.