Updated StringToHex -> RandomHex

This commit is contained in:
nuttylmao
2025-11-17 23:25:00 +11:00
parent 9d891bc2c9
commit 080c9f6bc8
3 changed files with 33 additions and 12 deletions
+1 -1
View File
@@ -896,7 +896,7 @@ function YouTubeMessage(data) {
if (showUsername) {
usernameDiv.innerText = data.user.name;
if (randomYouTubeColors)
usernameDiv.style.color = StringToHex(data.user.name);
usernameDiv.style.color = RandomHex(data.user.name);
else
usernameDiv.style.color = youtubeColor; // YouTube users do not have colors, so just set it to red
}