HTML代码
<html>
<head>
<meta charset="utf-8" />
<title>自制调色板</title>
<style type="text/css">
html
{
width: 100%;
height: 100%;
margin: 0;
}
body
{
idth: 100%;
height: 100%;
margin: 0;
color: #FFFFFF;
}
</style>
</head>
<body>
<div style="position: relative;
width: 100%;height: 100%;">
<div style="width: 100%;height: 50%;
background-color: white;"
align="center">
<input type="text" name="" id="color1" value="" />
<input type="text" name="" id="color2" value="" />
<input type="text" name="" id="color3" value="" />
<button type="button"
οnclick=