ProtoFlux:ColorX Hue

From Resonite Wiki
Revision as of 21:54, 25 February 2024 by PJB (talk | contribs) (Created page with " {{#Invoke:ProtoFlux|GenerateUI |Name=Hue |Category=Colors |Inputs= [ {"Name":"Hue", "Type":"float"}, {"Name":"TargetProfile", "Type":"ColorProfile"} ] |Outputs= [ {"Name":"*", "Type":"colorX"} ] |}} Color X Hue returns a color with a given hue value. This is equivalent to using HSV To ColorX with a value and saturation equal to 1. == Inputs == === Hue (Float) === The hue to get a color for. Values must be in the range [0, 1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Hue
Hue
*
TargetProfile
Colors

Color X Hue returns a color with a given hue value. This is equivalent to using HSV To ColorX with a value and saturation equal to 1.

Inputs

Hue (Float)

The hue to get a color for. Values must be in the range [0, 1], values outside this range are wrapped to it. For example a value of 1.5 gives the same result as 0.5.

TargetProfile (ColorProfile)

The profile that will be assigned on the resulting ColorX.

Outputs

* (ColorX)

The resulting color.

See Also