BYOND Version:497
Operating System:Windows 7 Pro 64-bit
Web Browser:Chrome 21.0.1180.60
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
Setting client.script to the following will cause telnet connections to connect with a blue background.

Numbered Steps to Reproduce Problem:
1) Create a new project in DM with the below code
2) Run in DS (works fine in DS) and then Host
3) Connect with PuTTy, or MUDlet, or telnet from Linux, or any other telnet client.
4) Background is blue.

Now change background to #000000, and observe that it goes away.
Code Snippet (if applicable) to Reproduce Problem:
client/script = "<STYLE>BODY {font: monospace; background: #000001; color: green}</STYLE>"

src << "Echo: [T]"

Expected Results:
That the background #000001 is rounded to black.

Actual Results:
The background color is rounded to deep blue.

See images:

Does the problem occur:
Every time

When does the problem NOT occur?
Using a more specific color-value that doesn't get mis-represented (Such as #000000).

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit to download old versions for testing.)

Doesn't PuTTY/MUDlet support only a few colors, like Windows's Console does?
In response to Zaoshi
Zaoshi wrote:
Doesn't PuTTY/MUDlet support only a few colors, like Windows's Console does?

PuTTY can have as many colour's as it wishes, by default it uses the systems colour's.

It's the protocol, not the client. BYOND uses ANSI to deliver colored text to telnet clients, and ANSI only supports 16 colors.

Technically this is a bug in the telnet color parsing, not in client/script.