[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Color codes - RGB
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Color codes - RGB

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


Posted by Gore   (207 posts)  [Biography] 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!

[Go to top] top

Posted by Larkin   (278 posts)  [Biography] 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.
[Go to top] top

Posted by Worstje   Netherlands  (899 posts)  [Biography] 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. >_<
[Go to top] top

Posted by Gore   (207 posts)  [Biography] 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.
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] 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
[Go to top] top

Posted by Gore   (207 posts)  [Biography] 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
[Go to top] top

Posted by Shadowfyr   USA  (1,783 posts)  [Biography] 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.
[Go to top] 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.


8,884 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]