Get your own website Result Size: 625 x 534
x
 
<!DOCTYPE html>
<html>
<head>
<style>
div {
  background: rgb(0, 128, 0);
}
div.first {
  background: rgba(0, 128, 0, 0.1);
}
div.second {
  background: rgba(0, 128, 0, 0.3);
}
div.third {
  background: rgba(0, 128, 0, 0.6);
}
</style>
</head>
<body>
<h1>Transparent Boxes 2</h1>
<p>Result with opacity:</p>
<div style="opacity:0.1;">
  <h1>10% opacity</h1>
</div>
<div style="opacity:0.3;">
  <h1>30% opacity</h1>
</div>
<div style="opacity:0.6;">
  <h1>60% opacity</h1>
</div>
<div>
  <h1>opacity 1</h1>
</div>
<p>Result with rgba():</p>