What Is a Web Browser Default Color Scheme?

A web browser's default color scheme is the set of colors a browser will use if the web page you are viewing does specify its own color scheme. Colors are specified in HTML or CSS documents for basic web pages or in the web application code for dynamic pages. Colors can be specified in in the HTML, CSS and application code simultaneously. The default color scheme is the same for all browsers.

  1. The Default Scheme

    • The default color scheme for all browsers is a white background, black text, blue links and purple visited links. You can change the scheme via your web page or in the browser to force a web page to display a page in the colors you choose.

    Changing Colors for Your Web Site Via the CSS file.

    • CSS is the scripting language used to change colors on web sites. CSS can be used in the HTML file or in a separate .css file. In the CSS file you can change the colors of an element by using the color property or the background-color property. The color property changes the color of the text in the element. The background-color property changes the background color of an element. The color is denoted by hex codes (see "References"). For example:

      body {
      color: #ff0000;
      background-color: #ffffff;
      }

      a:link {
      color: #666666;
      background-color: #333333;}

      The elements are the body of the page and the links. In the body the colors are set to red text with a white background. The links have dark gray text with a light gray background.

    Changing Colors for Your Web Site Via in the HTML File

    • You can use CSS right in your HTML file. The style element can be applied to any tag. For example, to change the text and background color for the whole document you would use the style element in in the body tag.

      <body style="color: #ff0000; background-color: #ffffff;">

      The CSS elements are used inside the quotes in the style element.

    Forcing Other Web Pages to Use Your Colors Using Firefox

    • To set a new default scheme and use it for all web pages you view, open Firefox. Click on "Tool," then "Options." Click on the "Content" tab then the "Colors" button. Choose new colors for the Text, Background, Unvisited Links and Visited Links. Next, uncheck the box "Allow pages to choose their own colors, instead of my selections above" and click "OK." Click "OK" again to save your changes.

    Forcing Other Web Pages to Use Your Colors Using Internet Explorer

    • Open Internet Explorer. Click on "Tools," then "Internet Options." Click on the "General Tab," then the "Colors" button. Uncheck "Use Windows Colors." Chose the colors you would like for Text, Background, Visited and Unvisited. Click "OK." Click on the "Accessibility" button. Check the "Ignore Colors Specified on Webpages" box. Click "OK." Click "OK" again.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured