グレースケールからRGBカラーに変換する
		
			
説明
			グレースケールからRGBカラーに変換するにはグレーの値を、そのまま各色RGBに代入します。
		
		
			
サンプルプログラム
window.onload = function(){
document.getElementById("conv").addEventListener("click", function(){
var G = document.getElementById("gray").value;
// グレーの値を、そのままRGBに代入
document.getElementById("red").value = G;
document.getElementById("blue").value = G;
document.getElementById("green").value = G;
}, true);
}