Color

Outputs a texture filled with a single color.

Outputs

NameTypeDescription
OutputTextureThe filled texture.

Parameters

NameTypeDescription
ResolutionVector 2 IntThe width and height of the output in pixels.
ColorColorThe color every pixel gets, alpha included.
FormatadvancedEnumThe pixel format of the output. Auto is RGBA, and a format with fewer channels keeps only the first ones, so a one channel format holds just the red.

The Color operator makes a texture of one color all over. Use it as a plain background to layer things on, or to feed a known color into any texture input.

Every pixel is the same, so a small Color works where it is stretched, such as the background of Blend or Transform. Those operators take their output size from the background, though. To put a Color behind a picture, give it the picture’s resolution, or set their Size to the other input. As an input of Mixer or the foreground of Blend, a Color stays small in the middle unless its scaling is set to Stretch.

See also Blend, Transform.

Keywords: solid, fill, flat, background, constant, swatch