code: public void setHSV(int hue, int sat, int bri) throws Exception {
  
          CmsColor color = new CmsColor();
          color.setHSV(hue, sat, bri);
  
          m_red = color.getRed();
          m_green = color.getGreen();
          m_blue = color.getBlue();
          m_hue = hue;
          m_saturation = sat;
          m_brightness = bri;
  
          m_tbRed.setText(Integer.toString(m_red));
          m_tbGreen.setText(Integer.toString(m_green));
          m_tbBlue.setText(Integer.toString(m_blue));
          m_tbHue.setText(Integer.toString(m_hue));
          m_tbSaturation.setText(Integer.toString(m_saturation));
          m_tbBrightness.setText(Integer.toString(m_brightness));
          m_tbHexColor.setText(color.getHex());
          setPreview(color.getHex());
  
          updateSliders();
      }
docs: Set the Hue, Saturation and Brightness variables.<p>
  
  @param hue angle - valid range is 0-359
  @param sat percent - valid range is 0-100
  @param bri percent (Brightness) - valid range is 0-100
  @throws java.lang.Exception if something goes wrong