Pixel Math RGB/K expressions

Hi,

I have created a PM HSS/HSH expression populating the separate R G and B fields, for which I wish to save as a preset.

R = Ha
G = Sii
B = (Sii * 1) - (Ha * 0.1))

Now, trying to convert this into saveable preset:

RGB(Ha, Sii, (Sii * 1) - (Ha * 0.1))

results in syntax error.

I see no example expressions in the documentation which would be helpful.

I really know nothing about PM, so saving a successful expression would be useful.

Cheers,

Mark

RGB is not a pixel math function.

So what’s the right syntax?

The expression was LLM generated.