title: Unable to set hsva/hsla attribute of pygame.Color
body: <p>As one can read in the pygame documentation <a href="http://pygame.org/docs/ref/color.html#pygame.Color.hsva" rel="nofollow noreferrer">here</a>, a <code>pygame.Color</code> object has two different attributes, namely <code>pygame.Color.hsva</code> and <code>pygame.Color.hsla</code> that can be read and assigned to.</p>
  
  <p>However, I seem to be unable to do this. In fact, running the script</p>
  
  <pre><code>import pygame
  from pygame import Color as C
  pygame.init()
  
  t = (100, 0, 0, 100)
  
  c = C(0,0,0)
  print(c.hsva)
  c.hsva = t
  print(c.hsva)
  c = C(100, 45, 10)
  print(c.hsva)
  c.hsva = t
  print(c.hsva)
  </code></pre>
  
  <p>prints unexpected results, namely</p>
  
  <pre><code>(0.0, 0.0, 0.0, 100.0)
  (0.0, 0.0, 0.0, 100.0)
  (23.333333333333336, 89.99999999999999, 39.21568627450981, 100.0)
  (0.0, 0.0, 0.0, 100.0)
  </code></pre>
  
  <p>Which clearly shows I am not being able to assign to the <code>.hsva</code> attribute (changing "hsva" to "hsla" shows the same erratic behaviour). Furthermore, after defining a new color and trying to change the <code>.hsva</code> the color changes completely.</p>
  
  <p>Am I missing something or is this a bug?</p>