code: def create_color_video(
      output_path: str,
      duration: float,
      height: int,
      width: int,
      color: Tuple[int, int, int] = utils.DEFAULT_COLOR,
  ) -> None:
      """
      Creates a video with frames of the specified color
  
      @param output_path: the path in which the resulting video will be stored
  
      @param duration: how long the video should be, in seconds
  
      @param height: the desired height of the video to be generated
  
      @param width: the desired width of the video to be generated
  
      @param color: RGB color of the video. Default color is black
      """
      utils.validate_output_path(output_path)
      assert (
          duration > 0
      ), "Duration of the video must be a positive value"
      assert height > 0, "Height of the video must be a positive value"
      assert width > 0, "Width of the video must be a positive value"
  
      with tempfile.TemporaryDirectory() as tmpdir:
          image_path = os.path.join(tmpdir, "image.png")
          color_frame = np.full((height, width, 3), color[::-1])
          cv2.imwrite(image_path, color_frame)
          create_video_from_image(output_path, image_path, duration)
  
file_path: AugLy/augly/video/helpers/utils.py
imports: import math
  import os
  import shutil
  import tempfile
  from typing import Any, Dict, List, Optional, Tuple
  import cv2
  import ffmpeg
  import numpy
  from augly import utils
  from augly.utils.ffmpeg import FFMPEG_PATH
  from augly.video import helpers
label_desc: Use image node_id 1 for calling a global function with example usage: create_color_video(output_path, duration, height, width, color) without return types