実験室

ソースコード

<select name="color">
<option value="black" style="background-color:black; color:white">黒&emsp;</option>
<option value="brown" style="background-color:brown; color:white">茶&emsp;</option>
<option value="red" style="background-color:red; color:white">赤&emsp;</option>
<option value="orange" style="background-color:orange; color:black">橙&emsp;</option>
<option value="yellow" style="background-color:yellow; color:black">黄&emsp;</option>
<option value="green" style="background-color:green; color:white">緑&emsp;</option>
<option value="blue" style="background-color:blue; color:white">青&emsp;</option>
<option value="purple" style="background-color:purple; color:white">紫&emsp;</option>
<option value="gray" style="background-color:gray; color:white">灰&emsp;</option>
<option value="white" style="background-color:white; color:black">白&emsp;</option>
</select>