google-site-verification: googled768248d3fb0e357.html Youth Stuff: HTML
Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts

Thursday, 20 June 2013

HTML Scripts

A script is a small piece of program that can add interactivity to your website. For example, a script could generate a pop-up alert box message, or provide a dropdown menu. This script could be Javascript or VBScript.
You can write your Event Handlers using any of the scripting language and then you can trigger those functions using HTML attributes.
There are two ways of using a style sheet in an HTML document:

External Script:

If you have to use a single script functionality among many HTML pages then it is a good idea to keep that function in a single script file and then include this file in all the HTML pages. You can incluse a style sheet file into HTML document using <script> element. Below is an example:
<head>
<script src="yourfile.js" type="text/javascript" />
</head>

Internal Script:

You can write your script code directly into your HTML document. Usually we keep script code in header of the document using <script> tag, otherwise there is no restriction and you can put your source code anywhere in the document. You can specify whether to make a script run automatically (as soon as the page loads), or after the user has done something (like click on a link). Below is an example this would write a Hello Javascript! message as soon as the page loads.:
<head>
<title>Internal Script</title>
</head>
<body>
<script type="text/javascript">
   document.write("Hello Javascript!")
</script>
</body>
This will produce following result:

Advertisements
Hello Javascript!
To become more comfortable - Do Online Practice

Writing Event Handler:

It is very easy to write an event handler. Following example explains how to write an event handler. Let's write one simple function myAlert in the header of the document. We will call this function when any user will bring mouse over a paragraph written in the example.
<head>
<title>Event Handler Example t</title>
<script type="text/javascript">
function myAlert()
{
    alert("I am an event handler....");
 return;
}
</script>
</head>
<body>

<span onmouseover="myAlert();">
   Bring your mouse here to see an alert
</span>

</body>
Now this will produce following result. Bring your mouse over this line and see the result:

Advertisements
Bring your mouse here to see an alert
To become more comfortable - Do Online Practice

Hide Scripts from Older Browsers

Athough most (if not all) browsers these days support scripts, some older browsers don't. If a browser doesn't support JavaScript, instead of running your script, it would display the code to the user. To prevent this from happening, you can simply place HTML comments around the script. Older browsers will ignore the script, while newer browsers will run it.
JavaScript Example:
 <script type="text/javascript">
 <!--
 document.write("Hello Javascript!");
 //-->
 </script>

VBScript Example:
 <script type="text/vbscript">
 <!--
 document.write("Hello VBScript!")
 '-->
 </script>

The <noscript> Element:

You can also provide alternative info for users whose browsers don't support scripts and for users who have disabled scripts. You do this using the <noscript> tag.
JavaScript Example:
 <script type="text/javascript">
 <!--
 document.write("Hello Javascript!");
 //-->
 </script>
    <noscript>Your browser does not support Javascript!</noscript>
VBScript Example:
 <script type="text/vbscript">
 <!--
 document.write("Hello VBScript!")
 '-->
 </script>
    <noscript>Your browser does not support VBScript!</noscript>

Default Scripting Language

You can specify a default scripting language for all your script tags to use. This saves you from having to specify the language everytime you use a script tag within the page. Below is the example:
<meta http-equiv="Content-Script-Type" content="text/JavaScript" />
Note that you can still override the default by specifying a language within the script tag.

HTML Styles

Style sheets describe how documents are presented on screens, in print, or perhaps how they are pronounced. W3C has actively promoted the use of style sheets on the Web since the Consortium was founded in 1994.
Cascading Style Sheets (CSS) is a style sheet mechanism that has been specifically developed to meet the needs of Web designers and users.
With CSS, you can specify a number of style properties for a given HTML element. Each property has a name and a value, separated by a colon (:). Each property declaration is separated by a semi-colon (;).
<p style="color:red;font-size:24px;">Using Style Sheet Rules</p>
This will produce following result:
Using Style Sheet Rules
There are three ways of using a style sheet in an HTML document:

External Style Sheet:

If you have to give same look and feel to many pages then it is a good idea to keep all the style sheet rules in a single style sheet file and include this file in all the HTML pages. You can incluse a style sheet file into HTML document using <link> element. Below is an example:
<head>
<link rel="stylesheet" type="text/css"
href="yourstyle.css">
</head>

Internal Style Sheet:

If you want to apply Style Sheet rules to a single document only then you can include those rules into that document only. Below is an example:
<head>
<style type="text/css">
body{background-color: pink;}
p{color:blue; 20px;font-size:24px;}
</style>
</head>
To become more comfortable - Do Online Practice

Inline Style Sheet:

You can apply style sheet rules directly to any HTML element. This should be done only when you are interested to make a particular change in any HTML element only. To use inline styles you use the style attribute in the relevant tag. Below is an example:
<p style="color:red;font-size:24px;">Using Style Sheet Rules</p>
This will produce following result:
Using Style Sheet Rules

HTML embed MultiMedia

You can add music or video into your web page. The easiest way to add video or sound to your web site is to include the special HTML tag called <embed>. This tag causes the browser itself to include controls for the multimedia automatically. You do not need to have any ActiveX, Java VM, VBscript or JavaScript to support this <embed> tag.
t's also a good idea to include the <noembed> tag to support browsers which don't recognize the <embed> tag. You could, for example, use <embed> to display a movie of your choice, and <noembed> to display a single JPG image.
Here is a simple example to play embed a midi file:
<embed src="/html/yourfile.mid" width="100%" height="60" >
<noembed><img src="yourimage.gif" ></noembed>
</embed>
This will produce following result:

You can put any media file in src attribute. You can try it yourself by giving various files.

Attributes:

Following is the list of important attributes for <embed> element.
  • align - Determines how to align the object. It takes either center, left or right.
  • autostart - Indicates if the media should start automatically. Netscape default is true, Internet Explorer is false.
  • loop - Specifies if the sound should be played continuously (set loop to true), a certain number of times (a positive value) or not at all (false). This is supported by Netscape only.
  • playcount - Specifies the number of times to play the sound. This is alternat option forloop if you are usiong IE.
  • hidden - Defines if the object shows on the page. A false value means no and true means yes.
  • height - Height of the object in pixels or en.
  • width - Width of the object in pixels or en.
  • pluginspage - Specifies the URL to get the plugin software.
  • name - A name used to reference the object.
  • src - URL of the object to be embedded. This can be any recognizable by the user's browser. It could be .mid, .wav, .mp3, .avi and so on).
  • volume - Controls volume of the sound. Can be from 0 (off) to 100 (full volume). This attribute is supported by Netscape only.

HTML - Video Media Types

Flash movies (.swf), AVI's (.avi), and MOV's (.mov) file types are supported by the embed tag.
  • .swf files - are the file types created by Macromedia's Flash program.
  • .wmv files - are Microsoft's Window's Media Video file types.
  • .mov files - are Apple's Quick Time Movie format.
  • .mpeg files - are movie files created by the Moving Pictures Expert Group.
Here is a simple example to play a flash file.
<embed src="/html/yourfile.swf" width="100%" height="250" >
<noembed><img src="yourimage.gif" alt="yourimage.gif" /></noembed>
</embed>
This will produce following result. Select a picture and paint it using virtual bursh.

To become more comfortable - Do Online Practice

Background Audio - The <bgsound> Element:

You can use the <bgsound> tag to play a soundtrack in the background. This tag is for Internet Explorer documents only. Other browsers ignore the tag. It downloads and plays an audio file when the host document is first downloaded by the user and displayed. The background sound file also will replay whenever the user refreshes the browser display.
This tag is having only two attributes loop and src. Both these attributes have same meaning as explained above.
Here is a simple example to play a small midi file:
<bgsound src="/html/yourfile.mid" >
<noembed><img src="yourimage.gif" alt="yourimage.gif" /></noembed>
</bgsound>
This will produce blank screen. This tag does not display any component and remains hidden.



Currently, Internet Explorer can handle three different sound format files: wav, the native format for PCs; au, the native format for most Unix workstations; and MIDI, a universal music-encoding scheme.

HTML Object tag:

HTML 4 introduces the <object> element, which offers an all-purpose solution to generic object inclusion. The <object> element allows HTML authors to specify everything required by an object for its presentation by a user agent
Here are few example:
You can embed a HTML document in an HTML document itself as follows:
<object data="data/test.htm" type="text/html" 
  width="300" height="200">
  alt : <a href="data/test.htm">test.htm</a>
</object>
Here alt attribute will come into picture if browser does not support object tag.
You can embed a PDF document in an HTML document as follows:
<object data="data/test.htm" type="application/pdf" 
  width="300" height="200">
  alt : <a href="data/test.pdf">test.pdf</a>
</object>
You can specify some parameters related to the document with the param tag. IE sometimes needs a src parameter to understand the location. Here is an exmaple to embed a wav file:
<object type="audio/x-wav" data="data/test.wav" 
      width="200" height="20">
  <param name="src" value="data/test.wav">
  <param name="autoplay" value="false">
  <param name="autoStart" value="0">
  alt : <a href="data/test.wav">test.wav</a>
</object>
You can add a flash document as follows:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  
        id="penguin" codebase="someplace/swflash.cab" 
        width="200" height="300">
 <param name="movie" value="flash/penguin.swf" />
 <param name="quality" value="high" />
 <img src="penguin.jpg" width="200" 
        height="300" alt="Penguin" />
</object>
You can add a java applet into HTML document as follows:
<object 
  classid="clsid:8ad9c840-044e-11d1-b3e9-00805f499d93"
  width="200" height="200">
  <param name="code" value="applet.class">
</object>
The classid attribute identifies which version of Java Plug-in to use. You can use the optionalcodebase attribute to specify if and how to download the JRE.
For a complete list of attributes of this object please check HTML Object Tag.

Referencing Audio, Video, and Images:

You can reference any external document, regardless of type or format, via a conventional anchor tag:
Here is an example to reference an audio file. Similar way you can refer any world document, PDF file, zip file etc.
If you want to listen music then 
<a href="/html/yourfile.mid" target="_blank" > Click Here </a>
This will produce following result:
If you want to listen music then Click Here
Just like any referenced document, the server delivers the desired multimedia object to the browser when the user selects the link. If the browser finds that the document is not HTML or XHTML but rather some other format, it automatically invokes an appropriate rendering tool to display or otherwise convey the contents of the object to the user.
Browsers identify and specially handle multimedia files from one of two different hints: either from the file's Multipurpose Internet Mail Extension (MIME) type, provided by the server, or from a special suffix in the file's name. The browser prefers MIME because of its richer description of the file and its contents, but it will infer the file's contents (type and format) from the file suffix: .gif or .jpg, for GIF and JPEG encoded images, for example, or .au for a special sound file.

HTML Backgrounds

Patterned & Transparent Backgrounds:

You might have seen many pattern or transparent backgrounds on various websites. This simply can be achieved by using patterend image or transparent image in the background.
It is suggested that when creating patterns or transparent gifs, use the smallest dimensions possible even as small as 1x1 if you can. Larger files load slow and inhibit the load time of your sites.
Here are the examples to set background pattern of a table.
<!-- How to set a table background using pattrern -->
<table background="/images/pattern1.gif" width="100%"  height="100">
<tr><td>
This background is filled up with a pattern image.
</td></tr>
</table>
<!-- Another example on table background using pattrern -->
<table background="/images/pattern2.gif" width="100%"  height="100">
<tr><td>
This background is filled up with a pattern image.
</td></tr>
</table>
This will produce following result:
This background is filled up with a pattern image.
This background is filled up with a pattern image.

HTML Forms

HTML Forms are required when you want to collect some data from the site visitor. For example registration information: name, email address, credit card, etc.
A form will take input from the site visitor and then will post your back-end application such as CGI, ASP Script or PHP script etc. Then your back-end application will do required processing on that data in whatever way you like.
Form elements are like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc. which are used to take information from the user.
A simple syntax of using <form> is as follows:
<form action="back-end script" method="posting method">
    form elements like input, textarea etc.
</form>
Most frequently used form attributes are:
  • name: This is the name of the form.
  • action: Here you will specify any script URL which will receive uploaded data.
  • method: Here you will specify method to be used to upload data. It can take various values but most frequently used are GET and POST.
  • target: It specifies the target page where the result of the script will be displayed. It takes values like _blank, _self, _parent etc.
  • enctype: You can use the enctype attribute to specify how the browser encodes the data before it sends it to the server. Possible values are like:
    • application/x-www-form-urlencoded - This is the standard method most forms use. It converts spaces to the plus sign and non-alphanumeric characters into the hexadecimal code for that character in ASCII text.
    • mutlipart/form-data - This allows the data to be sent in parts, with each consecutive part corresponding the a form control, in the order they appear in the form. Each part can have an optional content-type header of its own indicating the type of data for that form control.
Please refer to PERL & CGI for a detail on data uploading using CGI.
There are different types of form controls that you can use to collect data from a visitor to your site.
  • Text input controls
  • Buttons
  • Checkboxes and radio buttons
  • Select boxes
  • File select boxes
  • Hidden controls
  • Submit and reset button

HTML Forms - Text Input Controls:

There are actually three types of text input used on forms:
  • Single-line text input controls: Used for items that require only one line of user input, such as search boxes or names. They are created using the <input> element.
  • Password input controls: Single-line text input that mask the characters a user enters.
  • Multi-line text input controls: Used when the user is required to give details that may be longer than a single sentence. Multi-line input controls are created with the <textarea> element.

Single-line text input controls:

Single-line text input controls are created using an <input> element whose type attribute has a value of text.
Here is a basic example of a single-line text input used to take first name and last name:
<form action="/cgi-bin/hello_get.cgi" method="get">
First name: 
<input type="text" name="first_name" />
<br>
Last name: 
<input type="text" name="last_name" />
<input type="submit" value="submit" />
</form>
This will produce following result:
First name: 
Last name: 
Following is the list of attributes for <input> tag.
  • type: Indicates the type of input control you want to create. This element is also used to create other form controls such as radio buttons and checkboxes.
  • name: Used to give the name part of the name/value pair that is sent to the server, representing each form control and the value the user entered.
  • value: Provides an initial value for the text input control that the user will see when the form loads.
  • size: Allows you to specify the width of the text-input control in terms of characters.
  • maxlength: Allows you to specify the maximum number of characters a user can enter into the text box.
To Become more comfortable - Do Online Practice

Password input controls::

This is also a form of single-line text input controls are created using an <input> element whose type attribute has a value of password.
Here is a basic example of a single-line password input used to take user password:
<form action="/cgi-bin/hello_get.cgi" method="get">
Login : 
<input type="text" name="login" />
<br>
Password: 
<input type="text" name="password" />
<input type="submit" value="submit" />
</form>
This will produce following result:
Login : 
Password : 
To Become more comfortable - Do Online Practice

Multiple-Line Text Input Controls:

If you want to allow a visitor to your site to enter more than one line of text, you should create a multiple-line text input control using the <textarea> element.
Here is a basic example of a multi-line text input used to take item description:
<form action="/cgi-bin/hello_get.cgi" method="get">
Description : <br />
<textarea rows="5" cols="50" name="description">
Enter description here...
</textarea>
<input type="submit" value="submit" />
</form>
This will produce following result:
Description :

Following is the detail of above used attributes for <textarea> tag.
  • name: The name of the control. This is used in the name/value pair that is sent to the server.
  • rows: Indicates the number of rows of text area box.
  • cols: Indicates the number of columns of text area box.
To Become more comfortable - Do Online Practice

HTML Forms - Creating Button:

There are various ways in HTML to create clickable buttons. You can create clickable button using <input> tag.
When you use the <input> element to create a button, the type of button you create is specified using the type attribute. The type attribute can take the following values:
  • submit: This creates a button that automatically submits a form.
  • reset: This creates a button that automatically resets form controls to their initial values.
  • button: This creates a button that is used to trigger a client-side script when the user clicks that button.
Here is the example:
<form action="http://www.example.com/test.asp" method="get">
<input type="submit" name="Submit" value="Submit" />
<br /><br />
<input type="reset" value="Reset" />
<input type="button" value="Button"  />
</form>
This will produce following result:


 
You can use an image to create a button. Here is the syntax:
<form action="http://www.example.com/test.asp" method="get">
<input type="image" name="imagebutton" src="URL" />
</form>
Here src attribiute specifies a location of the image on your webserver.
You can use <button> element to create various buttons. Here is the syntax:
<form action="http://www.example.com/test.asp" method="get">
<button type="submit">Submit</button>
<br /><br />
<button type="reset"> Reset </button>
<button type="button"> Button </button>
</form>
This will produce following result:


 

HTML Forms - Checkboxes Control:

Checkboxes are used when more than one option is required to be selected. They are created using <input> tag as shown below.
Here is example HTML code for a form with two checkboxes
<form action="/cgi-bin/checkbox.cgi" method="get">
<input type="checkbox" name="maths" value="on"> Maths
<input type="checkbox" name="physics" value="on"> Physics
<input type="submit" value="Select Subject" />
</form>
The result of this code is the following form
 Maths  Physics 
Following is the list of important checkbox attributes:
  • type: Indicates that you want to create a checkbox.
  • name: Name of the control.
  • value: The value that will be used if the checkbox is selected. More than one checkbox should share the same name only if you want to allow users to select several items from the same list.
  • checked: Indicates that when the page loads, the checkbox should be selected.
To Become more comfortable - Do Online Practice

HTML Forms - Raido box Control:

Radio Buttons are used when only one option is required to be selected. They are created using <input> tag as shown below:
Here is example HTML code for a form with two radio button:
<form action="/cgi-bin/radiobutton.cgi" method="post">
<input type="radio" name="subject" value="maths" /> Maths
<input type="radio" name="subject" value="physics" /> Physics
<input type="submit" value="Select Subject" />
</form>
The result of this code is the following form
 Maths  Physics 
Following is the list of important radiobox attributes:
  • type: Indicates that you want to create a radiobox.
  • name: Name of the control.
  • value: Used to indicate the value that will be sent to the server if this option is selected.
  • checked: Indicates that this option should be selected by default when the page loads.
To Become more comfortable - Do Online Practice

HTML Forms - Select box Control:

Drop Down Box is used when we have many options available to be selected but only one or two will be selected..
Here is example HTML code for a form with one drop down box
<form action="/cgi-bin/dropdown.cgi" method="post">
<select name="dropdown">
<option value="Maths" selected>Maths</option>
<option value="Physics">Physics</option>
</select>
<input type="submit" value="Submit" />
</form>
The result of this code is the following form
 
Following is the list of important attributes of <select>:
  • name: This is the name for the control.
  • size: This can be used to present a scrolling list box.
  • multiple: If set to "multiple" then allows a user to select multiple items from the menu.
Following is the list of important attributes of <option>:
  • value: The value that is sent to the server if this option is selected.
  • selected: Specifies that this option should be the initially selected value when the page loads.
  • label: An alternative way of labeling options.
To Become more comfortable - Do Online Practice

HTML Forms - File Select Boxes:

If you want to allow a user to upload a file to your web site from his computer, you will need to use a file upload box, also known as a file select box. This is also created using the <input> element.
Here is example HTML code for a form with one file select box
<form action="/cgi-bin/hello_get.cgi" method="post"
      name="fileupload" enctype="multipart/form-data">
<input type="file" name="fileupload" accept="image/*" />
</form>
The result of this code is the following form
To Become more comfortable - Do Online Practice

HTML Forms - Hidden Controls:

If you will want to pass information between pages without the user seeing it. Hidden form controls remain part of any form, but the user cannot see them in the Web browser. They should not be used for any sensitive information you do not want the user to see because the user could see this data if she looked in the source of the page.
Following hidden form is being used to keep current page number. When a user will click next page then the value of hidden form will be sent to the back-end application and it will decide which page has be displayed next.
<form action="/cgi-bin/hello_get.cgi" 
         method="get" name="pages">
<p>This is page 10</p>
<input type="hidden" name="pgaenumber" value="10" />
<input type="submit" value="Next Page" />
</form>
This will produce following result:
This is page 10
To Become more comfortable - Do Online Practice

HTML Forms - Submit and Reset Button:

These are special buttons which can be created using <input> When submit button is clicked then Forms data is submitted to the back-end application. When reset button is clicked then all the forms control are reset to default state.
You already have seen submit button above, we will give one reset example here:
<form action="/cgi-bin/hello_get.cgi" method="get">
First name: 
<input type="text" name="first_name" />
<br>
Last name: 
<input type="text" name="last_name" />
<input type="submit" value="Submit" />
<input type="reset" value="Reset" />
</form>
This will produce following result. Type something and click reset button.
First name: 
Last name: 
 

HTML Colors

Colors are very important to give a good look and feel to your website. You can specify colors on page level using <body> tag or you can set colors for individual tags.
The <body> tag has following attributes which can be used to set different colors:
  • bgcolor: Sets a color for the background of the page.
  • text: Sets a color for the body text.
  • alink: Sets a color for active links or selected links.
  • link: Sets a color for linked text.
  • vlink: Sets a color for visited links - that is, for linked text that you have already clicked on.
NOTE: It is recommended to use CSS to set background or text colors.

HTML Color Coding Methods:

There are following three different methods to set colors in your web page:
  • Color names: You can specify color names directly like green, blue or red.
  • Hex codes: A six-digit code representing the amount of red, green, and blue that make up the color.
  • Color decimal or percentage values: : This value is specified using the rgb( ) property.
Now we will see these coloring schemes one by one.

HTML Colors - Color Names:

You can sepecify direct a color name to set text or background color. W3C has listed 16 basic color names that will validate with an HTML validator but there are over 200 different color names supported by Netscape and IE. Check a complete list of HTML Color Name.

W3C Standard 16 Colors:

Here is the list of W3C Standard 16 Colors names and it is recommended to use them.
BlackGraySilverWhite
YellowLimeAquaFuchsia
RedGreenBluePurple
MaroonOliveNavyTeal
To Become more comfortable - Do Online Practice

HTML Colors - Hex Codes:

A hexadecimal is a 6 digit representation of a color. The first two digits(RR) represent a red value, the next two are a green value(GG), and the last are the blue value(BB).
A hexadecimal value can be taken from any graphics software like Adobe Photoshop, Jasc Paintshop Pro or even using Advanced Paint Brush.
Each hexadecimal code will be preceded by a pound or hash sign #. Following are the examples to use Hexadecimal notation.
ColorColor HEX
 #000000
 #FF0000
 #00FF00
 #0000FF
 #FFFF00
 #00FFFF
 #FF00FF
 #C0C0C0
 #FFFFFF
To Become more comfortable - Do Online Practice

HTML Colors - RGB Values:

This color value is specified using the rgb( ) property. This property takes three values, one each for red, green, and blue. The value can be an integer between 0 and 255 or a percentage.
NOTE: All the browsers does not support rgb() property of color so it is recommended not to use it.
Following is the example to show few colors using RGB values.
ColorColor RGB
 rgb(0,0,0)
 rgb(255,0,0)
 rgb(0,255,0)
 rgb(0,0,255)
 rgb(255,255,0)
 rgb(0,255,255)
 rgb(255,0,255)
 rgb(192,192,192)
 rgb(255,255,255)
To Become more comfortable - Do Online Practice

Building Color Codes:

You can build millions of color codes using our Color Code Builder. Check our HTML Color Code Builder. To use this tool you would need a Java Enabled Browser.

Browser Safe Colors:

Here is the list of 216 colors which are supposed to be most safe and computer independent colors. These colors very from hexa code 000000 to FFFFFF. These color are safe to use because they ensure that all computers would display the colors correctly when running a 256 color palette:
0000000000330000660000990000CC0000FF
0033000033330033660033990033CC0033FF
0066000066330066660066990066CC0066FF
0099000099330099660099990099CC0099FF
00CC0000CC3300CC6600CC9900CCCC00CCFF
00FF0000FF3300FF6600FF9900FFCC00FFFF
3300003300333300663300993300CC3300FF
3333003333333333663333993333CC3333FF
3366003366333366663366993366CC3366FF
3399003399333399663399993399CC3399FF
33CC0033CC3333CC6633CC9933CCCC33CCFF
33FF0033FF3333FF6633FF9933FFCC33FFFF
6600006600336600666600996600CC6600FF
6633006633336633666633996633CC6633FF
6666006666336666666666996666CC6666FF
6699006699336699666699996699CC6699FF
66CC0066CC3366CC6666CC9966CCCC66CCFF
66FF0066FF3366FF6666FF9966FFCC66FFFF
9900009900339900669900999900CC9900FF
9933009933339933669933999933CC9933FF
9966009966339966669966999966CC9966FF
9999009999339999669999999999CC9999FF
99CC0099CC3399CC6699CC9999CCCC99CCFF
99FF0099FF3399FF6699FF9999FFCC99FFFF
CC0000CC0033CC0066CC0099CC00CCCC00FF
CC3300CC3333CC3366CC3399CC33CCCC33FF
CC6600CC6633CC6666CC6699CC66CCCC66FF
CC9900CC9933CC9966CC9999CC99CCCC99FF
CCCC00CCCC33CCCC66CCCC99CCCCCCCCCCFF
CCFF00CCFF33CCFF66CCFF99CCFFCCCCFFFF
FF0000FF0033FF0066FF0099FF00CCFF00FF
FF3300FF3333FF3366FF3399FF33CCFF33FF
FF6600FF6633FF6666FF6699FF66CCFF66FF
FF9900FF9933FF9966FF9999FF99CCFF99FF
FFCC00FFCC33FFCC66FFCC99FFCCCCFFCCFF
FFFF00FFFF33FFFF66FFFF99FFFFCCFFFFFF