Color to Grayscale

 
 
 

Categories

  • Color

  • Conversion

Description

Creates and outputs a new grayscale color value by converting the input color according to the specified red, green and blue weights. The weights are always normalized during the conversion.

The specified input alpha component has no effect on the conversion. The resulting alpha component equals the alpha component of the specified input color.

For retrieving a single value instead of a color, use the Color to Brightness node.

Ports

Inputs

Color

The color to convert.

Red Weight

The weight of the red component.

Green Weight

The weight of the green component.

Blue Weight

The weight of the blue component.

Outputs

Grayscale Color

The new grayscale color.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License