//[tvlib](../../index.md)/[org.mjdev.tvlib.ui.toolkit](index.md)/[lerp](lerp.md) # lerp [androidJvm]\ fun [lerp](lerp.md)(startValue: [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html), endValue: [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html), @[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange.html)(from = 0.0, to = 1.0)fraction: [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)): [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) fun [lerp](lerp.md)(startValue: [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html), endValue: [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html), @[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange.html)(from = 0.0, to = 1.0)startFraction: [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html), @[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange.html)(from = 0.0, to = 1.0)endFraction: [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html), @[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange.html)(from = 0.0, to = 1.0)fraction: [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)): [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) fun [lerp](lerp.md)(startColor: [Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color.html), endColor: [Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color.html), @[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange.html)(from = 0.0, to = 1.0)startFraction: [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html), @[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange.html)(from = 0.0, to = 1.0)endFraction: [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html), @[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange.html)(from = 0.0, to = 1.0)fraction: [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)): [Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color.html)