COLOR CODE CHANGERS

For Your Web Page




Use the following codes to put a color changer on your page. These codes may not work on some systems. There are simpler codes, but you can also try creating a black&white mirror page. What's nice about these codes is that they don't take up much space on your page. They may also be useful as a tool to determine color codes for colors that you like.










Background Color Change Pop Up Box
Click the button to see a pop up box.





Here is the code for

Background Color Change Pop Up Box


<form>
<input value="Click here to change background color" type=button onClick="var gg=prompt('Give a color name or hex code',); document.bgColor=gg"> </form>











ColorBox Form
Type in any color here



Here is the code for
ColorBox Form


Type in any color here
<form>
<input type="text" name="color">
<input type="button" value="Change Color" size=20
onClick="document.bgColor=(this.form.color.value)">
<input type="button" value="Reload" onClick="history.go(0)"> </form>














Resource Index:

Forum Index:

Page Index:




© 1998 Christopher J. Flores
All Rights Reserved.






This is how many hits
this page has received since August, 1998.