From bcfebb406e9d03703a38d069ff003f7b5cdd2818 Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Wed, 22 Jun 2016 19:43:09 +0200 Subject: [PATCH] reduce brightness --- gui/src/main/java/io/bitsquare/gui/components/PeerInfoIcon.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/src/main/java/io/bitsquare/gui/components/PeerInfoIcon.java b/gui/src/main/java/io/bitsquare/gui/components/PeerInfoIcon.java index 9b60cfd8e6..e1851b2a9d 100644 --- a/gui/src/main/java/io/bitsquare/gui/components/PeerInfoIcon.java +++ b/gui/src/main/java/io/bitsquare/gui/components/PeerInfoIcon.java @@ -60,7 +60,7 @@ public class PeerInfoIcon extends Group { int blue = (intValue >> 24) % 256; Color color = Color.rgb(red, green, blue); - color = color.deriveColor(1, saturation, 1, 1); // reduce saturation + color = color.deriveColor(1, saturation, 0.8, 1); // reduce saturation and brightness Canvas background = new Canvas(SIZE, SIZE); GraphicsContext gc = background.getGraphicsContext2D();