Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Answer

added 1 character in body
Source Link
ib.
  • 29.3k
  • 13
  • 88
  • 108

chucknorrischucknorris starts with cc, and the browser reads it into a hexadecimal value.

Because A, B, C, D, E, and F are characters in hexadecimal.

The browser converts chucknorris to a hexadecimal value, C00C00000000.

Then the C00C00000000 hexadecimal value is converted to RGB format (divided by 3):

C00C00000000 => R:C00C, G:0000, B:0000

The browser needs only two digits to indicate the colour:

R:C00C, G:0000, B:0000 => R:C0, G:00, B:00 => C00000

Finally, show bgcolor = C00000 in the web browser.

Here's an example demonstrating it:

<table>
 <tr>
 <td bgcolor="chucknorris" cellpadding="10" width="150" align="center">chucknorris</td>
 <td bgcolor="c00c00000000" cellpadding="10" width="150" align="center">c00c00000000</td>
 <td bgcolor="c00000" cellpadding="10" width="150" align="center">c00000</td>
 </tr>
</table>

chucknorris starts with c, and the browser reads it into a hexadecimal value.

Because A, B, C, D, E, and F are characters in hexadecimal.

The browser converts chucknorris to a hexadecimal value, C00C00000000.

Then the C00C00000000 hexadecimal value is converted to RGB format (divided by 3):

C00C00000000 => R:C00C, G:0000, B:0000

The browser needs only two digits to indicate the colour:

R:C00C, G:0000, B:0000 => R:C0, G:00, B:00 => C00000

Finally, show bgcolor = C00000 in the web browser.

Here's an example demonstrating it:

<table>
 <tr>
 <td bgcolor="chucknorris" cellpadding="10" width="150" align="center">chucknorris</td>
 <td bgcolor="c00c00000000" cellpadding="10" width="150" align="center">c00c00000000</td>
 <td bgcolor="c00000" cellpadding="10" width="150" align="center">c00000</td>
 </tr>
</table>

chucknorris starts with c, and the browser reads it into a hexadecimal value.

Because A, B, C, D, E, and F are characters in hexadecimal.

The browser converts chucknorris to a hexadecimal value, C00C00000000.

Then the C00C00000000 hexadecimal value is converted to RGB format (divided by 3):

C00C00000000 R:C00C, G:0000, B:0000

The browser needs only two digits to indicate the colour:

R:C00C, G:0000, B:0000 R:C0, G:00, B:00 C00000

Finally, show bgcolor = C00000 in the web browser.

Here's an example demonstrating it:

<table>
 <tr>
 <td bgcolor="chucknorris" cellpadding="10" width="150" align="center">chucknorris</td>
 <td bgcolor="c00c00000000" cellpadding="10" width="150" align="center">c00c00000000</td>
 <td bgcolor="c00000" cellpadding="10" width="150" align="center">c00000</td>
 </tr>
</table>

Tried to untangle this incomprehensible mess (there is still room for improvement).
Source Link
Peter Mortensen
  • 31.3k
  • 22
  • 110
  • 134

chucknorris is statsstarts with c, and the browser readreads it into a hexadecimal value.

because aBecause A,b B,c C,d D,e E,f and F are characters in hexadecimal .

The browser converts chucknorris convert to a hexadecimal value, c00c00000000C00C00000000 hexadecimal value.

Then the c00c00000000C00C00000000 hexadecimal value convertis converted to RGB format(divided by 3):

c00c00000000C00C00000000 => R:c00cC00C,G:0000,B:0000

The browser needs only 2two digits to indicate the colour.:

R:c00cC00C,G:0000,B:0000 => R:c0C0,G:00,B:00 => c00000C00000

finallyFinally, show bgcolor = c00000C00000 in the web browser.

Here's an example demonstrating it:

<table>
 <tr>
 <td bgcolor="chucknorris" cellpadding="10" width="150" align="center">chucknorris</td>
 <td bgcolor="c00c00000000" cellpadding="10" width="150" align="center">c00c00000000</td>
 <td bgcolor="c00000" cellpadding="10" width="150" align="center">c00000</td>
 </tr>
</table>

chucknorris is stats with c the browser read into a hexadecimal value.

because a,b,c,d,e,f are characters in hexadecimal

The browser chucknorris convert to c00c00000000 hexadecimal value.

Then c00c00000000 hexadecimal value convert to RGB format(divided by 3)

c00c00000000 => R:c00c,G:0000,B:0000

The browser needs only 2 digits to indicate the colour.

R:c00c,G:0000,B:0000 => R:c0,G:00,B:00 => c00000

finally, show bgcolor = c00000 in web browser.

Here's an example demonstrating

<table>
 <tr>
 <td bgcolor="chucknorris" cellpadding="10" width="150" align="center">chucknorris</td>
 <td bgcolor="c00c00000000" cellpadding="10" width="150" align="center">c00c00000000</td>
 <td bgcolor="c00000" cellpadding="10" width="150" align="center">c00000</td>
 </tr>
</table>

chucknorris starts with c, and the browser reads it into a hexadecimal value.

Because A, B, C, D, E, and F are characters in hexadecimal .

The browser converts chucknorris to a hexadecimal value, C00C00000000.

Then the C00C00000000 hexadecimal value is converted to RGB format(divided by 3):

C00C00000000 => R:C00C,G:0000,B:0000

The browser needs only two digits to indicate the colour:

R:C00C,G:0000,B:0000 => R:C0,G:00,B:00 => C00000

Finally, show bgcolor = C00000 in the web browser.

Here's an example demonstrating it:

<table>
 <tr>
 <td bgcolor="chucknorris" cellpadding="10" width="150" align="center">chucknorris</td>
 <td bgcolor="c00c00000000" cellpadding="10" width="150" align="center">c00c00000000</td>
 <td bgcolor="c00000" cellpadding="10" width="150" align="center">c00000</td>
 </tr>
</table>

Source Link

chucknorris is stats with c the browser read into a hexadecimal value.

because a,b,c,d,e,f are characters in hexadecimal

The browser chucknorris convert to c00c00000000 hexadecimal value.

Then c00c00000000 hexadecimal value convert to RGB format(divided by 3)

c00c00000000 => R:c00c,G:0000,B:0000

The browser needs only 2 digits to indicate the colour.

R:c00c,G:0000,B:0000 => R:c0,G:00,B:00 => c00000

finally, show bgcolor = c00000 in web browser.

Here's an example demonstrating

<table>
 <tr>
 <td bgcolor="chucknorris" cellpadding="10" width="150" align="center">chucknorris</td>
 <td bgcolor="c00c00000000" cellpadding="10" width="150" align="center">c00c00000000</td>
 <td bgcolor="c00000" cellpadding="10" width="150" align="center">c00000</td>
 </tr>
</table>

lang-html

AltStyle によって変換されたページ (->オリジナル) /