I have a problem. When I hover the mouse over in the picture I see too dark text. I want to white text in this picture. You'll solve this?
#tile:hover {
  cursor: pointer;
  opacity: 0.1;
}
#tile .text {
  position:relative;
  bottom:30px;
  visibility: hidden;
}
#tile:hover .text {
  visibility: visible;
  text-align: center;
  margin-top: -80px;
  color: white;
  cursor: pointer;
}<div id = "container">
  <div class = "square">
      <div id="tile"><img src="image/shampoo.png"><p class="text">Shampoo</p></div>
  </div>
</div>Without text
With text but dark text


 
     
    