less green

This commit is contained in:
rustdesk 2021-07-25 02:09:57 +08:00
parent d89d5ef825
commit bebe136834

View File

@ -19,7 +19,7 @@ function hashCode(str) {
} }
function intToRGB(i, a = 1) { function intToRGB(i, a = 1) {
return 'rgba(' + ((i >> 16) & 0xFF) + ', ' + ((i >> 8) & 0xFF) return 'rgba(' + ((i >> 16) & 0xFF) + ', ' + ((i >> 8) & 0x7F)
+ ',' + (i & 0xFF) + ',' + a + ')'; + ',' + (i & 0xFF) + ',' + a + ')';
} }