How is the colour of the avatar in PF is decided?

  • Thread starter Thread starter MathematicalPhysicist
  • Start date Start date
  • #31
MathematicalPhysicist said:
I meant before I uploaded the custom pic, the same colour used in both websites.
You could test your observation for probable non-coincidentiality by having a friend register with the same new username at both sites, and seeing whether the friend's 2 color pairs (letter and background) are also the same -- establishing repeatability is important in scientific investigation ...
 
  • Like
Likes   Reactions: jedishrfu
Physics news on Phys.org
  • #32
jedishrfu said:
Could be using a common php library then?
Could be, but generally StackExchange site developers won't publish the code for the public. In fact, getting hold of site developers is much more difficult there than in PF, because a simple ping to Greg won't work there.

One option is that @MathematicalPhysicist can post a thread at the Maths Meta SE and see if you can get the php code. I have almost left SE, visited last 6 months back. So there are less chances anyone will actually listen to me in the Physics Meta SE.
 
  • #34
I'm doing something wrong, php uses a different md5 or something else went wrong. Tried to verify this with Woolyabyss (randomly picked user). Username md5 starts with a7791b which leads to 3,2,1 in the calculation but #996633 is a brown, not a green.

Edit: Okay, it is the md5. This calculator produces 29e06d or 1,5,2, and #33FF66 is green[/color].
 
  • Like
Likes   Reactions: Wrichik Basu and sysprog

Similar threads

Replies
17
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 5 ·
Replies
5
Views
997
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 83 ·
3
Replies
83
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K