# code test

**URL:** <https://boards.straightdope.com/t/code-test/723727>\
**Category:** About This Message Board\
**Created:** [June 28, 2015, 7:54pm UTC](https://boards.straightdope.com/t/code-test/723727 "2015-06-28T19:54:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lumpy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lumpy/32/446_2.png) [@Lumpy](https://boards.straightdope.com/u/Lumpy)\
**Post date:** [June 28, 2015, 7:54pm UTC](https://boards.straightdope.com/t/code-test/723727/1 "2015-06-28T19:54:12Z")

</div>

Color code commands; in addition to preset values such as color=green, any RGB value can be expressed as a hex (0-F) value:

{color=#888888}charcoal grey{/color}  
charcoal grey

{color=#8888AA}blue-grey{/color}  
blue-grey

{color=#999900}sorta mustard{/color}  
sorta mustard

---

<div class="post-metadata">

**Author:** ![Amateur\_Barbarian](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@Amateur\_Barbarian](https://boards.straightdope.com/u/Amateur_Barbarian)\
**Post date:** [June 28, 2015, 7:56pm UTC](https://boards.straightdope.com/t/code-test/723727/2 "2015-06-28T19:56:12Z")

</div>

I think bbcode and HTML overlap that much, yes.

Handsome Scarlet

---

<div class="post-metadata">

**Author:** ![Digital\_is\_the\_new\_Analog](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@Digital\_is\_the\_new\_Analog](https://boards.straightdope.com/u/Digital_is_the_new_Analog)\
**Post date:** [June 28, 2015, 8:52pm UTC](https://boards.straightdope.com/t/code-test/723727/3 "2015-06-28T20:52:19Z")

</div>

Note that you can use the noparse tag to show the real code, instead of swapping in {}  
[noparse] **this is bold** [/noparse]  
**this is bold**

---

<div class="post-metadata">

**Author:** ![Senegoid](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/senegoid/32/6606_2.png) [@Senegoid](https://boards.straightdope.com/u/Senegoid)\
**Post date:** [June 28, 2015, 11:34pm UTC](https://boards.straightdope.com/t/code-test/723727/4 "2015-06-28T23:34:36Z")

</div>

> [@Digital\_is\_the\_new\_Analog](#):
>
> Note that you can use the noparse tag to show the real code, instead of swapping in {}  
> [noparse] **this is bold** [/noparse]  
> **this is bold**

Ah, but how do you show the real code, when the actual noparse . . . /noparse tags are the real code you want to show? Is it noparse…/noparse tags all the way down?

Useful to know about the color codes though. I have a HTML book with a table of several hundred color names and codes.

---

<div class="post-metadata">

**Author:** ![Digital\_is\_the\_new\_Analog](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@Digital\_is\_the\_new\_Analog](https://boards.straightdope.com/u/Digital_is_the_new_Analog)\
**Post date:** [June 28, 2015, 11:51pm UTC](https://boards.straightdope.com/t/code-test/723727/5 "2015-06-28T23:51:36Z")

</div>

> [@Senegoid](#):
>
> Ah, but how do you show the real code, when the actual noparse . . . /noparse tags are the real code you want to show? Is it noparse…/noparse tags all the way down?
> 
> Useful to know about the color codes though. I have a HTML book with a table of several hundred color names and codes.

They’re noparse about half way down. Then there’s a layer of turtles, followed by flying turkeys.

\*I suppose I should have layered the noparse tags once, to show their format.  
Oh well. Nothing to do about it now.

---

<div class="post-metadata">

**Author:** ![BigT](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bigt/32/12044_2.png) [@BigT](https://boards.straightdope.com/u/BigT)\
**Post date:** [June 29, 2015, 12:02am UTC](https://boards.straightdope.com/t/code-test/723727/6 "2015-06-29T00:02:05Z")

</div>

> [@Amateur\_Barbarian](#):
>
> I think bbcode and HTML overlap that much, yes.
> 
> Handsome Scarlet

They overlap to the degree that you can use nonsense words for colors: [noparse][color=handsomescarlet][/noparse][/color]

This is unsurprising, as all vBulletin does is convert the BBcode to HTML. Occasionally, when the system glitches up, I’ll get raw HTML back in the text box after clicking preview or edit.

---

<div class="post-metadata">

**Author:** ![Lumpy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lumpy/32/446_2.png) [@Lumpy](https://boards.straightdope.com/u/Lumpy)\
**Post date:** [June 29, 2015, 12:29am UTC](https://boards.straightdope.com/t/code-test/723727/7 "2015-06-29T00:29:05Z")

</div>

I like to use a very light grey as an alternative to the strikethrough; for example “I think that you’re a fuckwit mistaken”. 😉

---

<div class="post-metadata">

**Author:** ![BigT](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bigt/32/12044_2.png) [@BigT](https://boards.straightdope.com/u/BigT)\
**Post date:** [June 29, 2015, 12:34am UTC](https://boards.straightdope.com/t/code-test/723727/8 "2015-06-29T00:34:20Z")

</div>

> [@Senegoid](#):
>
> Ah, but how do you show the real code, when the actual noparse . . . /noparse tags are the real code you want to show? Is it noparse…/noparse tags all the way down?

You use one more set of noparse tags than the number you wish to show. Last I checked, x+1 did not equal infinity 😃

---

<div class="post-metadata">

**Author:** ![Irishman](https://avatars.discourse-cdn.com/v4/letter/i/b487fb/32.png) [@Irishman](https://boards.straightdope.com/u/Irishman)\
**Post date:** [June 30, 2015, 4:27pm UTC](https://boards.straightdope.com/t/code-test/723727/9 "2015-06-30T16:27:23Z")

</div>

> [@Digital\_is\_the\_new\_Analog](#):
>
> [noparse] **this is bold** [/noparse]  
> **this is bold**

Amusingly, in tapatalk on my Android, the noparse tags didn’t work.
