When you sample deco from an element, it adds two to each rgb value (r,g,b).
For example, if a diamond square is colored with rgb(255,0,0), it will be sampled as rgb(255,2,2).
Same goes with a diamond square colored with rgb(0,127,0). That green diamond square will be sampled as rgb(2,129,2).
Is this a floating point error, or an error on how decorations are stored?
For me, it happens on every deco color that I use.
I choose a preset color from the deco tab (I verified that the colors are not affected), draw it on an element, and then sample it.
I am using powdertoy version 94.1.343 (WIN32 X86 X86_SSE X86_SSE2 LUACONSOLE GRAVFFT).