Jump to content
Science Forums

Recommended Posts

Posted

COLORS

 

There are far more colors available than just the 40 tile palette appearing in the editor's drop-down list. All you have to do is type a different color's name manually into the vBCode. Just select any color using the drop-down list and then manually change the one generated in the code to one you'd prefer from the color list down below.

 

Example: (change the color blue in the code to springgreen)

 

[ color=blue ] your text here [ /color ]

[ color=springgreen ] your text here [ /color ]

 

Disregard the spaces next to each of the brackets. Had I not included them, the interpreter would've performed the appropriate color processing and you'd never have seen the above 2 lines of code!

 

Any of the Microsoft HTML

138 standard color names

will work.

 

However my reduced-list of colors below seems

to render best given a white background and

with far less redundancy:

 

aqua

black

blue

brown

cadetblue

chartreuse

crimson

darkgray

darkorange

darkorchid

darksalmon

darkseagreen

fuchsia

gold

gray

green

hotpink

maroon

navy

olive

orange

pink

purple

red

royalblue

saddlebrown

salmon

silver

skyblue

springgreen

tan

teal

turquoise

yellow

Posted
[ color=blue ] your text here [ /color ]

[ color=springgreen ] your text here [ /color ]

 

Disregard the spaces next to each of the brackets. Had I not included them, the interpreter would've performed the appropriate color processing and you'd never have seen the above 2 lines of code!

 

No need for spaces - just wrap the code in the noparse tag and you get:

 

Blue!

 

Example code:

 

[noparse]
[noparse][color=blue]Blue![/color][/noparse][/noparse]

Posted

The text for each of the named colors in the list appears in the actual color it describes. The result appearing very much like a full-spectrum rainbow, as you glance down the list from top to bottom or vice-versa. No two of the colors is even remotely the same. Each is quite distinctively different from any of the others.

 

If what was just described isn't what you're seeing on your Display Monitor screen and not how the colors are rendering, then either your Color mode- setting is incorrectly set at it's lowest capability instead of being it's highest.

 

Or, even more commonly, the correct manufacturer's driver for your Graphics Display card was either never installed or it didn't install properly due to an Interrupt or DMA setting conflict between one or more other PCI cards, plugged into and sharing the PCI bus.

 

In this case, the Graphics Display card will act very crudely and seem to be in it's lowest possible capability mode. The results will be outrageously poor nearly to the point of absurdity, as compared to how it ought to be performing when set at it's highest capability.

 

If you need further help please PM me back and I'll work with you, one-on one to get the problem resolved.

Posted
If you need further help please PM me back and I'll work with you, one-on one to get the problem resolved.

 

No need mate. My current system settings have the maximum color output, but I only see four of them. :eek:

 

 

Btw... lighten up. :shrug:

Posted
There are far more colors available than just the 40 tile palette appearing in the editor's drop-down list. All you have to do is type a different color's name manually into the vBCode. Just select any color using the drop-down list and then manually change the one generated in the code to one you'd prefer from the color list down below

 

sweet! i see them all as different. will employ to good effect in great words thread. :shrug:

Posted

Hey thanks Tor!

 

Totally cool TIP and very much appreciated. I see the vBcode has some rather nice enhancements and augmentations over the earlier BBcode. Is there any further info or documentation on vBcode you're aware of, anywhere on the forum?

 

By the way, I forgot to mention earlier with respect to hand-coding the colors using the standard Microsoft Color Names, you can also use the 6-digit hexadecimal Color Codes, such as those you've seen in HTML webpages or HTML generated by Outlook Express. A few coding GURUs who know and prefer or have some good reason to use the 6-digit HEX Color Codes, might find this occasionally useful.

 

Using this approach would look as follows:

Sample 6-digit HEX Color Code specifying the color OLIVE

 

Why on Earth would anyone want to do such a thing, assuming they're not a total GEEK? There's a perfectly good reason why. If you're working with the HTML from someone's Webpage, the colors generated by the Webpage Editing software are always going to be in the 6-digit HEX Color Codes, which are horribly unreadable.

 

#000000 is BLACK and #FFFFFF is WHITE. As for everything else in-between, your guess is as good as mine. The point being, you'd simply use the 6-digit HEX Color Code as it appears in some given line of HTML text who's color you need to match, in those instances where it's what's available as it was the format used, based upon what you happen to be working with, in this case HTML.

 

Such ugliness and horror does have ONE singular advantage, however. Unlike the plain-English 128 std Microsoft Color Names, if you opt to use the ugly 6-digit HEX Color Codes, there of course happens to be precisely ONE for each and every of the 16,777,215 possible different colors. Is that enough color specificity for you or what!

 

Whenever I work with HTML, I always code the colors using the plain English 128 std Microsoft Color Names rather than the more typical 6-digit HEX color codes you'd expect to see, simply for the sake of readability and ease for the human working with it. Plus the fact I know most of the Color Names by heart. The HTML compiler simply doesn't care which format you use, as long you specify a legitimate Color Name or 6-digit Color Code.

 

Personally I much prefer the plain English Microsoft Color Names best, due to their readability. Once you know the names of all the colors you like to work with best, it's a lead-pipe cinch to use those custom colors, which simply aren't otherwise available using the limited 40-tile palette the editor spoon-feeds you.

 

What I like to do when I'm in a lazy mood, is cheat and select one of the Editor's color tiles, say RED and then later, go and alter the color name by hand from RED to the custom color I really wanted earlier, for example SaddleBrown or DarkSeaGreen.

 

In that manner, you have "the best of both worlds" where the Editor builds the lion's share of vBcode and then all you have to do is make only the slightest modifications to what the Editor's already generated for you. Et, Voila! You have the text in precisely the custom color you need and desire.

  • 4 weeks later...
Posted

#000000 is BLACK and #FFFFFF is WHITE. As for everything else in-between, your guess is as good as mine.

quick carash course on the 6 digit hex.

 

Hex has for numbers 0123456789abcdef and is base 16 instead of base 10,

 

in the case of color codes the first 2 numbers signify how much/bright to make the red pixels, the second 2 how bright to make the green pixels, and the last 2 how bright to make blue.

 

grouping 2 together allows 256 different levels of brightness to be described, per color. where 00 means "off" or "nothing" FF means "FULL POWER!"

 

so FF0000 #00FF00 #0000FF

 

grouping now of course red + green = FFFF00, blue + green = 00FFFF and red + Blue = FF00FF

 

This is fun with numbers ;) try playing around with values 'less' than absolute, like 2's and c's to get a list of more vague colors.

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...