Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ General ➜ Color codes - RGB

Color codes - RGB

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Gore   (207 posts)  Bio
Date Wed 13 Jan 2010 12:04 PM (UTC)
Message
Hey, I was just curious why you chose the color codes that you use. i.e. why is green 0,128,00, vs 0,255,0 etc? thanks!

Top

Posted by Larkin   (278 posts)  Bio
Date Reply #1 on Wed 13 Jan 2010 12:15 PM (UTC)
Message
They are the ANSI/Telnet color standard values. There's regular green, and then there's bright green, too.
Top

Posted by Worstje   Netherlands  (899 posts)  Bio
Date Reply #2 on Wed 13 Jan 2010 01:22 PM (UTC)

Amended on Wed 13 Jan 2010 07:16 PM (UTC) by Nick Gammon

Message
Those are standardized names, I'm afraid. Most of the computer world uses those assignments, in Windows and on the web. The bright green is called 'lime', just like how the bright pink isn't called pink but 'fuchsia'. The choices are baffling sometimes, but hey, we deal with them.

Besides, absolutely specifying the color numbers is always best if you ask me. No doubt about stuff ever. :)

Edit: corrected a silly typo where I put in the totally opposite word by mistake. >_<
Top

Posted by Gore   (207 posts)  Bio
Date Reply #3 on Thu 14 Jan 2010 07:49 AM (UTC)
Message
I thought as much but I was a bit confused with regards to another client. heh.
Top

Posted by Nick Gammon   Australia  (23,046 posts)  Bio   Forum Administrator
Date Reply #4 on Thu 14 Jan 2010 10:42 PM (UTC)
Message
I don't know which other client you are referring to, but if you check out this page (amongst others):

http://htmlhelp.com/cgi-bin/color.cgi

... you will see that green is indeed a "standard" of "Green #008000" (where hex 80 is 128).

I seem to recall that Zugg and I agreed a while ago to use exactly the same colour codes for the same names, so hopefully it is not zMud you are talking about.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Gore   (207 posts)  Bio
Date Reply #5 on Fri 15 Jan 2010 12:49 PM (UTC)
Message
No, it's a new client called mudlet that I'm investigating. His (whoever the developer is) colors are weird. Green is 0,255,0, and it doesn't have silver. Very inconvient for making a direct port of my system. He said that he uses some standard RBG list he found from the X11 some such.

I might just stick with mushclient. I haven't used it for 7 years for no reason after all :P
Top

Posted by Shadowfyr   USA  (1,788 posts)  Bio
Date Reply #6 on Fri 15 Jan 2010 06:07 PM (UTC)
Message
Yeah. There are some old Unix lists around that have like thousands of color names, and not all of them match the ones that HTML was forced to use for them, because of the browser limitations at the time. Frankly, I wish someone set a real standard, with a large set, instead of having 2-3 of them, half of which are based on the days when computers only *had* 16 non-user definable colors total.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


26,180 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.