# Video Chroma Key

Remove green screen or any colored background from video and replace with another video

> Canonical page: https://elysiatools.com/en/tools/video-chroma-key

- **Category:** Media

- **Keywords:** video, chroma key, green screen, greenscreen, blue screen, background removal, keying

## Overview

The Video Chroma Key tool allows you to seamlessly remove green screens, blue screens, or any custom colored background from a foreground video and replace it with a background video of your choice. By adjusting similarity thresholds and edge blending factors, you can achieve clean, professional-grade compositing directly in your browser and export the final output in formats like MP4, WebM, MKV, AVI, or MOV.

## Inputs

- **Foreground Video (Green Screen)** (file): Select the video with green/blue screen to remove
- **Background Video** (file): Select the background video to replace the green screen
- **Key Color** (select)
- **Custom Color (Hex)** (text): Custom color in hex format (e.g., 0x00FF00 for green)
- **Similarity** (range): Color similarity threshold (0.01-1). Lower = more exact color match, Higher = more colors removed
- **Blend** (range): Blend factor for edges (0-1). Higher = softer edges, Lower = harder edges
- **Output Format** (select)

## When to use

- When you need to replace a green or blue screen background in a video clip with a custom background video.
- When compositing a presenter or subject filmed against a solid-colored backdrop into a new virtual environment.
- When fine-tuning edge blending and color similarity to eliminate color spill and harsh borders from keyed footage.

## How it works

- Upload your foreground video containing the solid-colored background and select your replacement background video.
- Choose the key color (green, blue, red, white, black, or a custom hex value) that matches the background you want to remove.
- Adjust the similarity threshold to control color matching sensitivity and the blend factor to soften the keyed edges.
- Select your preferred output format, such as MP4 or WebM, and process the video to merge the layers.

## Use cases

- Creating educational or training videos by placing an instructor filmed on a green screen in front of a presentation video.
- Producing gaming content by overlaying a webcam stream with a keyed-out background onto gameplay footage.
- Compositing visual effects shots by replacing solid-color backdrops with dynamic motion graphics or scenic background videos.

## Frequently asked questions

### What video formats are supported for input and output?

You can upload standard video files for both foreground and background, and export the final keyed video as MP4, WebM, MKV, AVI, or MOV.

### How do I remove a background color that is not standard green or blue?

Select the 'Custom Color' option and enter the specific hex code of your background color in the custom color field.

### What does the Similarity setting do?

Similarity controls the color matching range; lower values match only the exact key color, while higher values remove a broader range of similar shades.

### How can I fix jagged or harsh edges around my keyed subject?

Increase the Blend factor to apply edge smoothing, which softens the transition between the foreground subject and the new background.

### Is there a file size limit for the uploaded videos?

Yes, the maximum file size limit for both the foreground and background videos is 100 MB.

## Related tools

- [Video Background Remove (Chroma Key)](https://elysiatools.com/en/tools/video-background-remove): Remove solid color backgrounds from video using chroma key (green screen, blue screen, etc.)
- [Video Watermark Remove](https://elysiatools.com/en/tools/video-watermark-remove): Remove or blur watermarks and logos from videos by specifying the watermark area
- [Video Audio Remove](https://elysiatools.com/en/tools/video-audio-remove): Remove the audio track from a video file, keeping only the video stream
- [Batch Video Converter](https://elysiatools.com/en/tools/video-batch-converter): Convert multiple video files between different formats like MP4, WebM, MKV, AVI, MOV with quality settings and batch processing
- [Video Deinterlace](https://elysiatools.com/en/tools/video-deinterlace): Remove interlacing artifacts from video to convert interlaced video to progressive scan
- [Video Watermark Image](https://elysiatools.com/en/tools/video-watermark-image): Add an image watermark to videos with customizable position, size, opacity, and timing
- [Video Watermark Text](https://elysiatools.com/en/tools/video-watermark-text): Add text watermark to videos with customizable position, font size, color, opacity, and timing
- [Stream Smart Remux](https://elysiatools.com/en/tools/stream-smart-remux): Rewrap media containers with stream copy.

## Samples

- [Video Samples](https://elysiatools.com/en/samples/video-samples): Sample video files in different formats and orientations
- [Video AV1 Samples](https://elysiatools.com/en/samples/video-av1-samples): Sample video files encoded in AV1 format
- [Video H.264 Samples](https://elysiatools.com/en/samples/video-h264-samples): Sample video files encoded in H.264 (AVC) format
- [Video H.265 Samples](https://elysiatools.com/en/samples/video-h265-samples): Sample video files encoded in H.265 (HEVC) format
