Color

Outputs a texture filled with a single color.

Outputs

NameTypeDescription
Texture OutputTextureThe filled texture.

Parameters

NameTypeDescription
Texture TypeEnumThe channels of the output texture.Choices: R (u8), RG (u8), RGBA (u8)
Texture SizeVector 2 IntThe size of the output texture in pixels.
ColorColorThe color every pixel gets, alpha included.

Color makes a texture that is one color all over. It is the plain background to layer things on, the flat color to tint another texture with through Blend in Multiply mode, or the quick way to get a texture of a known color into any texture input.

Because every pixel is the same, the texture does not need to be large. A new operator starts at 8 by 8 pixels, and there is rarely a reason to make it bigger.

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