ProtoFlux:Color Luminance: Difference between revisions

From Resonite Wiki
Add note about this luminance being different from HSL "luminance"
I forgot that HSL stands for lightness not luminance slap me with a fish
Tag: Manual revert
 
Line 14: Line 14:


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 [[Type:ColorProfile|Linear color profile]], which may be a bug<ref>{{CiteResoniteIssue|281|Color Luminance ProtoFlux node does not give same output as online color luminance calculator}}</ref>.
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 [[Type:ColorProfile|Linear color profile]], which may be a bug<ref>{{CiteResoniteIssue|281|Color Luminance ProtoFlux node does not give same output as online color luminance calculator}}</ref>.
This should not be confused with the "luminance" output of nodes such as [[ProtoFlux:Color_To_HSL|Color To HSL]], which produce different results.


== Inputs ==
== Inputs ==

Latest revision as of 20:48, 25 February 2024

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.