GetFadeColor

Calculates a color between two colors to a corresponding value.

Use

The function can be called event-driven as well as via the Function Binding and can be found in the Actions and Conditions editor under Functions > BuildingAutomation.

Parameter

StartColor

tchmi:framework#/definitions/SolidColor

Start color of the cross-fade.

StartValue

tchmi:framework#/definitions/Number

Start value of the cross-fade.

EndColor

tchmi:framework#/definitions/SolidColor

End color of the cross-fade.

EndValue

tchmi:framework#/definitions/SolidColor

End value of the cross-fade.

Value

tchmi:framework#/definitions/Number

Value used to calculate the color.

Return value

tchmi:general#/definitions/SolidColor

Calculated color.