diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/ColorUtils.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ColorUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/ColorUtils.kt index 1d95413fe..6a0af6cba 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/ColorUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/ColorUtils.kt @@ -21,7 +21,7 @@ object ColorUtils { fun blendRGB(start: Color, end: Color, percent: Double) = Color( (start.red * (1 - percent) + end.red * percent).toInt(), (start.green * (1 - percent) + end.green * percent).toInt(), - (start.blue * (1 - percent) + end.blue * percent).toInt() + (start.blue * (1 - percent) + end.blue * percent).toInt(), ) /** Darkens a color by a [factor]. The lower the [factor], the darker the color. */ |