FFmpeg 4.1.11
Since* 4.1
#

Remove all color information for all colors except for certain one.

The filter accepts the following options:

color

The color which will not be replaced with neutral chroma.

similarity

Similarity percentage with the above color. 0.01 matches only the exact key color, while 1.0 matches everything.

yuv

Signals that the color passed is already in YUV instead of RGB.

Literal colors like "green" or "red" don’t make sense with this enabled anymore. This can be used to pass exact YUV values as hexadecimal numbers.