DFS MB SDN Stuff PIX CAL Office Washers and Dryers Disney Shop Click Here to See Amazon's Random Deals

You are at the section Intro to CSS

Fun With Text: Color

examples using Text CSS tags

Using the font element: (you can also use body, div, h1, h2, h3, h4, h5, h6, and p elements too)
<font style="INSERT CSS HERE">
We're going to change the color of the text. Let's change it to red by using a the color name, red.
<font style="color:red">
This is the color red

You can also change it to red by using an RGB value like this:
<font style="color:rgb(255,0,0)">
This is the color red

Lastly, you can change it to red by using a hex value like this:
<font style="color:#ff0000">
This is the color red

You can also specify other colors by name, RGB value, or hex value. Here are some common ones:
<font style="color:blue">
This is the color blue

<font style="color:green">
This is the color green

<font style="color:white">
This is the color white

<font style="color:brown">
This is the color brown

<font style="color:aqua">
This is the color aqua

<font style="color:orange">
This is the color orange

<font style="color:lime">
This is the color lime

<font style="purple:lime">
This is the color purple

Intro to CSS Main Page Fun With Font: Font Families Fun With Fonts: Font Styles Fun With Fonts: Font Weights Fun With Fonts: Font Sizes Fun With Text: Color Fun With Text: Decoration Fun With Text: Transformation Fun With Text: Alignment Fun With Text: Indentation Fun With Background: Color
Dave's Fun Stuff's Stuff Your Screen Size Electricity Rates Green Concepts HTML Colors Volume Measurements Small Color Tables Large Color Tables Color Spans Creating CSS Colorful Link Buttons PC Keystroke Codes Eat More Potassium! State Abbreviations Intro to CSS D.T.'s Web Icons Optical Illusions Star Codes Windows Alt Codes Fun With Money Bits 'N' Bytes Celebrity Autographs TV Died Fast Food Fish Sandwich Reviews San Diego Apartment and Condo Maps Calendar History Jesus' Date of Conception Calendar Coincidence Software You Need Internet Speed Test DFS Bookmarks MikeMan Stupid Cat Videos Unicode Madness
Market Zone:
Amazon Shopping The DFS Market
TV Zone:
Find your favorite TV shows with "Let's Watch TV!"
The Del: Dave's Entertainment Library! Celebrities a2z Hit Song Titles Stuff! Gregorian Calendar Collection Desktop Gregorian Calendar Collection (Mobile)-English Picture Gallery SDN Media News and More
Dave's Fun Stuff Mega Birthdays Contact Webmaster

© 1995-2019. davesfunstuff.com All Rights Reserved. Reproduction of any part of this website without expressed written consent is prohibited.

Website Cookie Policy