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_mask is False, color indicates the color in RGB of the clip (default is black). If is_mask` is True, color must be a float between 0 and 1 (default is 1)

  • is_mask – Set to true if the clip will be used as a mask.