
This Applet can be made bigger or smaller, the colour can be changed, and it's different each time it's loaded. These are two examples of different colour combinations.
Click here for Info on changing the colour
First copy the following source code, and paste it into the HTML for your
website. Put it between the <body> tags. e.g <body> put it here
</body>
Download the following files and put it into the same folder as your page.
Download Info:
| File Size = 6 kb | Download Time = 2 seconds |
In the source code you copied into your page, you will see two bits at the start saying:
<param name="color1" value="000000">
<param name="color2" value="00ff00">
Color1 is the background which is currently black
Color2 is the foreground which is currently green
From then on it's just like mixing paint (actually light)!! The first two digits stand for red, then green and then blue. e.g RRGGBB
Here is a list of some things you can add to make the colour's change.
Obviously I couldn't make some of the writing here the colour they should be, because then you couldn't read it.
| The Digits | Stand for | e.g. | equals |
| FF | Full or 100% | ff0000 | Red |
| 99 | 90% | ff9900 | Orange |
| 66 | 60% | 666666 | Grey / Brown |
| 33 | 30% | 3300ff | Dark Blue |
| 00 | None or 0% | 000000 | Black |
Also from 00 to 99 and ff e.g 11, 22, 33, 44 etc.
This is not the proper HTML colour code ( called Hexidecimal or Hex for short )
because that has an # in front of it ( Shift + 3 ), so all your Hex colours would look like this in HTML: #00ff99 etc.