aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commonMain/kotlin/dev/kdrag0n/colorkt/gamut/LchGamut.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonMain/kotlin/dev/kdrag0n/colorkt/gamut/LchGamut.kt b/src/commonMain/kotlin/dev/kdrag0n/colorkt/gamut/LchGamut.kt
index 511bdeb..b349bb4 100644
--- a/src/commonMain/kotlin/dev/kdrag0n/colorkt/gamut/LchGamut.kt
+++ b/src/commonMain/kotlin/dev/kdrag0n/colorkt/gamut/LchGamut.kt
@@ -26,7 +26,7 @@ private fun interface LchFactory {
*/
public object LchGamut {
// Epsilon for color spaces where lightness ranges from 0 to 100
- private const val EPSILON_100 = 0.0001
+ private const val EPSILON_100 = 0.001
private fun evalLine(slope: Double, intercept: Double, x: Double) =
slope * x + intercept