What is Royal Blue

  • Thread starter Thread starter JCO
  • Start date Start date
J

JCO

Anyone know the approximate "numbers" (either decimal or hex) to achieve
Royal Blue?
I though I could simply put Royal Blue in my .CSS file but it doesn't
understan what that is.
 
See:
http://www.ycoln-design.com/WebColorCharts/WebColors.asp
and if you know the Pantone (r) color number, then Pantone(r) to Hex translator.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Copy javascript below and paste in IE Address Bar and click on GO and you will get what you
need.


javascript:t='';c=new%20Array('00','33','66','99','CC','FF');for(i=0;i<6;i++){t+='<table%20widt
h=100%>';for(j=0;j<6;j++){t+='<tr>';for(k=0;k<6;k++){L=c+c[j]+c[k];t+='<td%20bgcolor='+L+'>'
+L}t+='</tr>'}t+='</table>'};with(document){write(t);void(close())}
 
That is a neat script.

You can also use FrontPage's color picker:

New Page
Format > Font
Color: More Colors
Click around the color wheel, and the HEX value will change dynamically for
each color you click.
 
Thank you (All three responses)

What would be the best approach for creating a color background that is dark
at the top and gradually gets lighter as you get to the bottom. I would
prefer to stay away from themes.
 
In an image editor create a gradient image
But how will you know how big to make it so it won't tile?
Top is clear
Bottom can be all over the place (in length based on page content)

--




| Thank you (All three responses)
|
| What would be the best approach for creating a color background that is dark
| at the top and gradually gets lighter as you get to the bottom. I would
| prefer to stay away from themes.
|
|
| | > Copy javascript below and paste in IE Address Bar and click on GO and you
| will get what you
| > need.
| >
| >
| >
| javascript:t='';c=new%20Array('00','33','66','99','CC','FF');for(i=0;i<6;i++
| ){t+='<table%20widt
| >
| h=100%>';for(j=0;j<6;j++){t+='<tr>';for(k=0;k<6;k++){L=c+c[j]+c[k];t+='<t
| d%20bgcolor='+L+'>'
| > +L}t+='</tr>'}t+='</table>'};with(document){write(t);void(close())}
| >
| >
| >
| > | > > Anyone know the approximate "numbers" (either decimal or hex) to achieve
| > > Royal Blue?
| > > I though I could simply put Royal Blue in my .CSS file but it doesn't
| > > understan what that is.
| > >
| > >
| >
| >
|
|
 
If you're talking about the background of the Page itself, you will need to
create a background image that is a gradient, and make it tall and skinny
(tall so it doesn't tile vertically, and skinny so that it doesn't take up
too much bandwidth).

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Once you have your graphic selected, you can use CSS to apply it to the page
and keep it from repeating vertically. You should set the background color
value to be complimentary with the lightest end of the gradient to give you
a visually pleasing transition.

So, for example, say the light end of the image is white, your CSS might be:

body {
background: url("/pathto/image.gif") #fff repeat-x;
}

Another technique you could use is to apply a fixed position on the graphic
to prevent it from scrolling. Not all browsers support this (at least NS4
doesn't) but I don't think it will cause you any problems. To implement
this, just add "fixed" as shown below. To see this technique in action:
http://www.w3schools.com/css/tryit.asp?filename=trycss_background-attachment

body {
background: url("/pathto/image.gif") #000080 repeat-x fixed;
}

For more info on CSS and backgrounds:
http://www.w3schools.com/css/css_background.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top