Skip to main content

ChromaKey

chromaKey removes pixels that match a target color, which is useful for green-screen style effects.

interface ChromaKey {
color: string;
similarity?: number;
blend?: number;
}
PropertyRequiredRange/formatNotes
colorYeshex colorExample: "#00ff00".
similarityNo0 to 100Higher values match more colors.
blendNo0 to 100Softens the keyed edge.

Example

{
"chromaKey": {
"color": "#00ff00",
"similarity": 18,
"blend": 8
}
}

Used By