title: Google Sheets - Set background color of cell based on text value automatically
body: <p>Is it possible to change the cell's background, based on the text value of the cell, automatically? These would be for an arbitrary amount of values, not just pre-defined.  The idea would be that a 'hash' is generated based on the text value, and then based on that hash, a color is chosen randomly. It doesn't matter which color it is, as long as different values have different colors to be differentiated easily.</p>
  <p>For example, imagine the cell having values:</p>
  <ul>
  <li>Dog</li>
  <li>Cat</li>
  <li>Mouse</li>
  </ul>
  <p>They would all have different background colors, because they contain a different text value. The actual background color doesn't make a difference. What would ideally make a difference is that if the background color is 'dark', the text color would be white, and if the background color is 'light', text color would be black. This is so you can always read the text.</p>