title: How to generate colors in GWT and dynamically apply it in CSS
body: <p>In an application I need to use different colors. That is I want to dynamically generate colors as well as make changes in the <code>CSS</code> properties. I have used </p>
  
  <pre><code>draw.getElement().getStyle().setProperty(); // Where draw is my flowpanel
  </code></pre>
  
  <p>but I get the error as not in camelCase format. Also since I'm using the above method I need to pass the parameters as Strings, but if I Google about generating different colors then they all in different formats.</p>
  
  <p>How do I achieve that in GWT and how do I apply that generated color in <code>CSS</code> class?</p>