Science Forums
Advanced search
User Name
Password

Science Social Network
home    members    help/rules    who is online    contact   

Go Back   Science Forums > Special forums > Test forum
Become a science forums sponsor today
Reply
 
LinkBack Thread Tools
Old 06-22-2007   #1 (permalink)
Mike Adams's Avatar
Curious


 
Mike Adams is infamous around these parts
 



Colorful text

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

Last edited by Mike Adams; 06-22-2007 at 04:53 PM.
Reply With Quote
Old 06-22-2007   #2 (permalink)
InfiniteNow's Avatar
Suspended


 



Re: Unlimited colors for text in your posts

I'm a male, and I only see four colors there in your post:

Red
Blue
Green
Black

Why did you repeat them so many times?




Thanks Mike.
Reply With Quote
Old 06-22-2007   #3 (permalink)
Tormod's Avatar
Hypographer

Hypography Staff Member
Administrator
Senior Editor
Editor
Dev Team Member

 



Re: Unlimited colors for text in your posts

Quote:
Originally Posted by Mike Adams View Post
[ 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:

[color=blue]Blue![/color]

Example code:

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


----------------
Your Friendly Neighborhood Administrator

Want to sponsor Hypography? Buy a print in our Fall 2008 Benefit Sale

Join our Facebook group or follow us on Twitter

Science is not only compatible with spirituality; it is a profound source of spirituality.
- Carl Sagan
Reply With Quote
Old 06-22-2007   #4 (permalink)
Mike Adams's Avatar
Curious


 
Mike Adams is infamous around these parts
 



You're describing a problem with Graphics Adapter card, it's settings or driver

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.
Reply With Quote
Old 06-22-2007   #5 (permalink)
InfiniteNow's Avatar
Suspended


 



Re: You're describing a problem with Graphics Adapter card, it's settings or driver

Quote:
Originally Posted by Mike Adams View Post
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.


Btw... lighten up.
Reply With Quote
Old 06-22-2007   #6 (permalink)
Turtle's Avatar
Dibbler

Platinum Subscription
Sponsor

Latest blog entry:
dodged the bullet!
 
Turtle has a reputation beyond reputeTurtle has a reputation beyond reputeTurtle has a reputation beyond reputeTurtle has a reputation beyond reputeTurtle has a reputation beyond reputeTurtle has a reputation beyond reputeTurtle has a reputation beyond reputeTurtle has a reputation beyond reputeTurtle has a reputation beyond reputeTurtle has a reputation beyond reputeTurtle has a reputation beyond repute
 



Arrow Re: Unlimited colors for text in your posts

Quote:
Originally Posted by Mike Adams View Post
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.


----------------
Who doesn't want to use words that will stun people into silence? ~Sha
You gonna eat that?
Reply With Quote
Old 06-22-2007   #7 (permalink)
Mike Adams's Avatar
Curious


 
Mike Adams is infamous around these parts
 



Re: Unlimited colors for text in your posts

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:
[color=#808000]Sample 6-digit HEX Color Code specifying the color OLIVE[/color]

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.
Reply With Quote
Old 07-20-2007   #8 (permalink)
Southtown's Avatar
Still Learning


 



Re: Unlimited colors for text in your posts

Believe it or not, I was using hex while forum-whoring for years until I noticed the drop-down lists. I usually kype a hex from the site's css to make things easy.


----------------
“Welcome to the desert of the real.” -- Morpheus
Reply With Quote
Old 07-21-2007   #9 (permalink)
GAHD's Avatar
Creating

Hypography Staff Member
Administrator

 



Re: Unlimited colors for text in your posts

Quote:
Originally Posted by Mike Adams View Post
#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.


----------------
Sometimes a Hypography Forum Administrator



"With a big enough engine, even a brick will fly." -Law of Aerospace
Reply With Quote
Old 08-13-2007   #10 (permalink)
Hill's Avatar
Questioning

Basic Subscription
Sponsor

 



Re: Unlimited colors for text in your posts

Complete HTML True Color Chart; Table of color codes for html documents has the code overlying the color, and so makes it pretty easy.


----------------
'Eternity is a very long time, especially towards the end.' Stephen Hawking

'There are all kinds of interesting questions that come from a knowledge of science, which only adds to the excitement and mystery and awe of a flower.' Richard Feynman
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Colorful Demise of a Sun-like Star Jay-qu Astronomy news 1 02-14-2007 04:25 AM
Images in text... yeah... Dark Mind Test forum 13 07-09-2005 07:44 AM
Epimetheus: Up-Close and Colorful C1ay Astronomy news 4 04-27-2005 02:54 PM
Do i see the bright and colorful world in my dark brain? zahizahi Strange Claims Forum 3 04-24-2005 07:38 PM
text-to-speech and speech-to-text TINNY Computer Science 7 01-19-2005 06:43 PM


All times are GMT -8. The time now is 09:00 PM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. Copyright © 2000-2008 Hypography
Part of the Hypography - Science for Everyone Network