remove some of the color options for usernames

Discussion in 'Implemented' started by zeroality, Apr 27, 2010.

  1. zeroality

    zeroality Artificial Insanity

    Joined:
    Apr 22, 2010
    Messages:
    1,378
    Likes Received:
    1
    Some of them are really hard on the eyes, especially yellow. Orange isn't so great against white, and neither is light green.
     
    Last edited: May 2, 2010
  2. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    I'll reduce teh brightness again... Or add an option to disable colors and use standard colors (black names in the players list, And one color for you, one for others, on e for server and one for bots in the main chat).
     
  3. Darkness

    Darkness DN

    Joined:
    Apr 21, 2010
    Messages:
    206
    Likes Received:
    7
    Different colors do look attractive when used by different players but the sad part is some colors do seem disturbing. Either we keep some fixed colors for use (talking about dark color tones) or just set a default color for every individual object. Name - Black, Bot - Red, Link - Blue, hope you got the idea.
     
  4. Steve

    Steve Active Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    491
    Likes Received:
    45
    I like Coyotte's idea.
    Fixed colours = fail.
    Default colours = fail.
     
  5. zeroality

    zeroality Artificial Insanity

    Joined:
    Apr 22, 2010
    Messages:
    1,378
    Likes Received:
    1
    Disable option is good, I'm all for user reconfigurability.
     
  6. Eternal

    Eternal こんにちは。

    Joined:
    Apr 27, 2010
    Messages:
    1,217
    Likes Received:
    3
    Sounds good to me.
     
  7. Kioku

    Kioku Member

    Joined:
    Apr 22, 2010
    Messages:
    200
    Likes Received:
    0
    I've had an idea concerning this a while back. While it may limit the color selection, I believe it would prevent users from picking shades that are intended for eye rape.

    As the colors are selected, they have a value with Red, Green, and Blue. The highest possible amount for each is 255. Total white would be 765. If the values for R, G, and B are tracked; the RGB total could cap off at about 255 * 2.5 or 637~. 637 total is pretty liberal in brightness, too.

    Code (text):
    1. R = Selection's Red Value
    2. G = Selection's Green Value
    3. B = Selection's Blue Value
    4. R + G + B = C
    5.  If C > 637,
    6. Change R, G, and B to 0. In other words, make it black or possibly a random color.
    7.  Else = OK
    I don't know C++'s syntax, so that's the best I could have explained it.
     
  8. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    The problem was green that could produce lime green or lime yellow (even with having one color set to 0)

    I capped green at 180/255 and kept the usual lightness check and there's no problems now.