mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
reduce brightness
This commit is contained in:
parent
76e0f95592
commit
bcfebb406e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue