We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 502f607 commit 9ec6cb0Copy full SHA for 9ec6cb0
src/main/java/net/wurstclient/util/PlayerColorRegistry.java
@@ -103,8 +103,8 @@ public static Color generateBrightColor(int index)
103
int baseCount = base.length;
104
int b = Math.abs(index) % baseCount;
105
int round = Math.abs(index) / baseCount;
106
- // slightly vary brightness by round but keep it bright
107
- float factor = 1.0f - Math.min(0.35f, round * 0.08f);
+ // Slightly vary brightness by round while keeping colors vibrant
+ float factor = 1.0f - Math.min(0.2f, round * 0.04f);
108
Color bc = base[b];
109
int r = Math.min(255, Math.max(0, (int)(bc.getRed() * factor)));
110
int g = Math.min(255, Math.max(0, (int)(bc.getGreen() * factor)));
0 commit comments