]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/utils/Colors.java
fixed and extended debug info
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / utils / Colors.java
index 7ea5f7817881cacb688ec740c449afccbf76de82..767765b06234cb59e5be0f4599c25f2adf13e817 100644 (file)
@@ -115,8 +115,8 @@ public class Colors {
         if (h < 6) return tupleToColor(c + m, 0 + m, x + m);
 
         throw new IllegalArgumentException(String.format(
-                "Unexpected value for h (%d) while converting hsl(%1.2f, %1.2f, %1.2f) to rgb", h,
-                hue, saturation, lightness));
+                "Unexpected value for h (%1.3f) while converting hsl(%1.3f, %1.3f, %1.3f) to rgb",
+                h, hue, saturation, lightness));
     }
 
     public static @ColorInt