HTM36


BACK

DESCRIPTION

OUTPUT

SOURCE CODE






DESCRIPTION:

      If you need more than 16 named colors, you can achieve any arbitrary color by using a raw hexadecimal color value for the color attribute. The format is: SYNTAX: <FONT COLOR =#rrggbb> Where: #rrggbb � contains the hexadecimal codes for the red, green, and blue components of color Hexadecimal codes go from 00 (turn the color completely off) to FF (fully saturated). Bright red is �#FF0000� Bright blue is �#0000FF� Bright yello is �#FFFF00�.


..Back to the top..



OUTPUT:


HTM.36 Spot Colors Using spot colors
Here are my spot colors. Run the code in the browser to see colors

HelloWorld!


T h i s i s a T e s t


..Back to the top..



SOURCE CODE:



<HTML>
<HEAD><TITLE>Spot Colors</TITLE></HEAD>
<BODY>
<FONT COLOR = �#FFFF00�>
Using spot colors<BR>
Here are my spot colors. Run the code in the browser to see colors
</FONT>
<!-- Show �Hello� in Blue and �World� in a different color-->
<H2><B>Hello<FONT COLOR = �#FFFF00�>World!</FONT><B></H2><BR>
<!-- Give me a T in one color-->
<H1>
<!-- Give me a T in one color-->
<FONT COLOR = �#FF7F00�>T</FONT>
<!-- Give me a h in one color-->
<FONT COLOR = �#EAADEA�>h</FONT>
<!-- Give me a i in one color-->
<FONT COLOR = �#00FFFF�>i</FONT>
<!-- Give me a s in one color-->
<FONT COLOR = �#4566C9�>s</FONT>
<!-- Give me a i in one color-->
<FONT COLOR = �#B5A642�>i</FONT>
<!-- Give me a s in one color-->
<FONT COLOR = �#145F0A�>s</FONT>
<!-- Give me an a in one color-->
<FONT COLOR = �#008000�>a</FONT>
<!-- Give me a T in one color-->
<FONT COLOR = �#F6EF31�>T</FONT>
<!-- Give me an e in one color-->
<FONT COLOR = �#215E21�>e</FONT>
<!-- Give me an s in one color-->
<FONT COLOR = �#9F9F5F�>s</FONT>
<!-- Give me a t in one color-->
<FONT COLOR = �#ADEAEA�>t</FONT>
</H1>
</BODY>
</HTML>


..Back to the top..