generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Roblox » Roblox News & Discussion
Home Search
 

Re: so whats the algorithm that decides the color of ur username

Previous Thread :: Next Thread 
KoolWaterLK is not online. KoolWaterLK
Joined: 23 Mar 2014
Total Posts: 90585
05 Aug 2017 06:42 PM
like your username in-game

is it just random

mine is yellow


Report Abuse
Liadix is not online. Liadix
Joined: 15 Jul 2016
Total Posts: 2202
05 Aug 2017 06:43 PM
random


Report Abuse
xvbones is not online. xvbones
Joined: 09 Nov 2006
Total Posts: 6029
05 Aug 2017 06:44 PM
it's not random, i found a thread with it the other week
Report Abuse
Sealbutterscotch is online. Sealbutterscotch
Joined: 27 Oct 2013
Total Posts: 17326
05 Aug 2017 06:44 PM
I had dark green then light blue.


Report Abuse
roblox70921 is not online. roblox70921
Joined: 08 Mar 2011
Total Posts: 1312
05 Aug 2017 06:45 PM
@xvbones

link?
Report Abuse
xvbones is not online. xvbones
Joined: 09 Nov 2006
Total Posts: 6029
05 Aug 2017 06:47 PM
can't be bothered looking for the thread but

-if your name consists of an even number of a single unique character, your name will always be red (e.g "dddd" or "444444")

-if your name consists of a mixture of "h", "p", "x", or "8", your username will always be red too (e.g "phpx" or "xp888")
Report Abuse
Susan8162 is not online. Susan8162
Joined: 03 Mar 2013
Total Posts: 2388
05 Aug 2017 06:48 PM
mines blue


I'm from OT
Report Abuse
bootskibird is not online. bootskibird
Joined: 20 Oct 2015
Total Posts: 53
05 Aug 2017 06:50 PM
Mine is orange
Report Abuse
Sealbutterscotch is online. Sealbutterscotch
Joined: 27 Oct 2013
Total Posts: 17326
05 Aug 2017 06:50 PM
how could some one know this information?


Report Abuse
Helicopter_Crash is not online. Helicopter_Crash
Joined: 15 Apr 2017
Total Posts: 2022
05 Aug 2017 06:50 PM
mines normally yellow


Spin spin spin. ( · 3 · )
Report Abuse
10MilesWide is not online. 10MilesWide
Joined: 06 Aug 2014
Total Posts: 2220
05 Aug 2017 06:52 PM
local CHAT_COLORS =
{
Color3.new(253/255, 41/255, 67/255), -- BrickColor.new("Bright red").Color,
Color3.new(1/255, 162/255, 255/255), -- BrickColor.new("Bright blue").Color,
Color3.new(2/255, 18########7########- BrickColor.new("Earth green").Color,
BrickColor.new("Bright violet").Color,
BrickColor.new("Bright orange").Color,
BrickColor.new("Bright yellow").Color,
BrickColor.new("Light reddish violet").Color,
BrickColor.new("Brick yellow").Color,
}

local function GetNameValue(pName)
local value = 0
for index = 1, #pName do
local cValue = string.byte(string.sub(pName, index, index))
local reverseIndex = #pName - index + 1
if #pName%2 == 1 then
reverseIndex = reverseIndex - 1
end
if reverseIndex%4 >= 2 then
cValue = -cValue
end
value = value + cValue
end
return value
end

function Util.ComputeChatColor(pName)
return CHAT_COLORS[(GetNameValue(pName) % #CHAT_COLORS) + 1]
end
Report Abuse
vruxe is not online. vruxe
Joined: 21 Nov 2011
Total Posts: 5172
05 Aug 2017 06:53 PM
its whatever month your account was created


Report Abuse
Icillia is not online. Icillia
Joined: 19 Jan 2016
Total Posts: 2337
05 Aug 2017 06:54 PM
https://www.roblox.com/games/255057274/Username-Color-Previewer


Report Abuse
jumpykilldestroy is online. jumpykilldestroy
Joined: 15 Jul 2012
Total Posts: 12319
05 Aug 2017 06:55 PM
heres how the chat script determines your chat color:

local x = 255 --not originally in chat script but roblox filters this without it

local CHAT_COLORS =
{
Color3.new(253/x, 41/x, 67/x), -- BrickColor.new("Bright red").Color,
Color3.new(1/x, 162/x, 255/x), -- BrickColor.new("Bright blue").Color,
Color3.new(2/x, 184/x, 87/x), -- BrickColor.new("Earth green").Color,
BrickColor.new("Bright violet").Color,
BrickColor.new("Bright orange").Color,
BrickColor.new("Bright yellow").Color,
BrickColor.new("Light reddish violet").Color,
BrickColor.new("Brick yellow").Color,
}

local function GetNameValue(pName)
local value = 0
for index = 1, #pName do
local cValue = string.byte(string.sub(pName, index, index))
local reverseIndex = #pName - index + 1
if #pName%2 == 1 then
reverseIndex = reverseIndex - 1
end
if reverseIndex%4 >= 2 then
cValue = -cValue
end
value = value + cValue
end
return value
end

function ComputeChatColor(pName)
return CHAT_COLORS[(GetNameValue(pName) % #CHAT_COLORS) + 1]
end
Report Abuse
TehPineapplePanda is not online. TehPineapplePanda
Joined: 08 Jan 2014
Total Posts: 1578
05 Aug 2017 06:57 PM
Mines yellow, but was blue before I changed it.

"Castle of Bass" -TehPineapplePanda ~OT~
Report Abuse
ghostwaffle_kun is not online. ghostwaffle_kun
Joined: 21 Sep 2012
Total Posts: 7039
05 Aug 2017 06:58 PM
i had yellow but now i have some dull tan color

downgrade almost tbh
Report Abuse
Zachdarkshadow222 is not online. Zachdarkshadow222
Joined: 02 Aug 2012
Total Posts: 2309
05 Aug 2017 06:58 PM
My alt's is red (ZachDarkShadow22) and my main is green (ZachDarkShadow222)I always thought it was the join date that decided it, guess I was wrong.
Report Abuse
Breadeater420 is not online. Breadeater420
Joined: 15 Oct 2016
Total Posts: 1287
05 Aug 2017 07:00 PM
i have poopy tan... so does my alt but idk about my other alt, ill check in a sec
Report Abuse
Breadeater420 is not online. Breadeater420
Joined: 15 Oct 2016
Total Posts: 1287
05 Aug 2017 07:06 PM
i was wrong

this account has poopy tan, one has poop brown and the other is purple. my alts were made this month
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » Roblox News & Discussion
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image