moviepy.video.VideoClip.ColorClip#
- class moviepy.video.VideoClip.ColorClip(size, color=None, is_mask=False, duration=None)[source]#
An ImageClip showing just one color.
- Parameters:
size -- Size tuple (width, height) in pixels of the clip.
color -- If argument
is_maskis False,colorindicates the color in RGB of the clip (default is black). If is_mask` is True,colormust be a float between 0 and 1 (default is 1)is_mask -- Set to true if the clip will be used as a mask.