Ejemplo de JavaScript funcion pintar(col) { document.getElementById('cuadradro1').style.backgroundcolor=col; } rojoo- verde- azul