ProtoFlux:Color Luminance

From Resonite Wiki
Revision as of 19:04, 25 February 2024 by PJB (talk | contribs) (Created page with " {{#Invoke:ProtoFlux|GenerateUI |Name=Luminance |Category=Colors |Inputs= [ {"Name":"Color", "Type":"color"} ] |Outputs= [ {"Name":"*", "Type":"float"} ] |}} Color Luminance calculates the [https://en.wikipedia.org/wiki/Relative_luminance relative luminance] of an input color. For correct result, the input must be in the Linear color profile, which may be a bug<ref>{{CiteResoniteIssue|281|Color Luminance ProtoFlux node does not give same output as...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Luminance
Color
*
Colors

Color Luminance calculates the relative luminance of an input color. For correct result, the input must be in the Linear color profile, which may be a bug[1].

Inputs

Color (Color)

The color to calculate the relative luminance of.

Outputs

* (Float)

The relative luminance of the input color.