Chapter 570: colorKey()
Core Idea
_Part of the @remotion/effects package.
Key Concepts
- Preview
- Example
- API
- keyColor?
- similarity?
- smoothness?
- spillSuppression?
- disabled?
Code Examples
export const MyComp: React.FC = () => {
return (
<AbsoluteFill style={{background: '#222'}}>
<Video
src="https://remotion.media/greenscreen.mp4"
effects={[colorKey({keyColor: '#00ff00'})]}
/>
</AbsoluteFill>
);
};
- What it demonstrates: Usage pattern for colorKey() from the official docs.
Key Takeaways
- Understand preview when working with colorKey().
- Understand example when working with colorKey().
- Understand api when working with colorKey().
- Understand keycolor? when working with colorKey().
- Understand similarity? when working with colorKey().
Connects To
- Animated Emoji: related page in the Effects Library section.
- get Available Emoji: related page in the Effects Library section.
- api: related page in the Effects Library section.