solid
  1. red
  2. green
  3. blue
  4. alpha

solid() generates an image where every pixel is set to the provided RGB color.

Most commonly, this function will be called by providing three numbers from 0 to 1, representing the amount red, green, and blue in the color. When only one number is provided, it will instead create a grayscale image with brightness set to that number.

It can also take a HTML color name.

$: osc(3).screen(solid("<firebrick wheat>"))

aliases: rgb(), xyz()

parametertype
red
green
blue
alpha
returns
mentioned in (1)