"Saturation" Blend Mode does not work on Yellow

Hello! I signed up here just because this bug is so funny.
I am messing around with color swatches, and trying to desaturate my colors using a new layer in the blend mode “saturation”. And it does not work if the hue is a perfect yellow. The value does not matter, and if the hue shifts only one to the left or right, it also works, but perfect yellow specifically is unaffected by the blend mode.

To reproduce:

Step 1: Have a bunch of colors

Step 2: Put a grey rectangle on top

Step 3 (optional): Change the blend mode. Here “Multiply” to show Yellow is normally affected in other blend modes.

Step 4: Set blend mode to “Saturation.” Watch all colors except yellow be affected. You can even see I mis-swatched in the bottom row.

1 Like

Also looks like Hue blend mode is impacted when the gray layer is beneath a colorful layer.

Your issue might be similar to this issue from 4 years ago

where multiple blend modes rely on helper methods defined in a reference doc here.

The replacement method given in the comments by alpine-alpaca seems to fix the issue:

1 Like

Thank you @mx-lu and @behreandtjeremy. I was able to reproduce it. We’ll fix it soon.

1 Like