Color
Outputs a texture filled with a single color.
Outputs
| Name | Type | Description |
|---|---|---|
| Output | Texture | The filled texture. |
Parameters
| Name | Type | Description |
|---|---|---|
| Resolution | Vector 2 Int | The width and height of the output in pixels. |
| Color | Color | The color every pixel gets, alpha included. |
| Formatadvanced | Enum | The 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.
Keywords: solid, fill, flat, background, constant, swatch