title: Changing color according to seek bar value
body: <p>I am trying to change color according to value of seek bar. I'd like colors to appear in wide range.</p>
  
  <p>Here is what I tried, but it doesn't give me colors I want:</p>
  
  <pre><code>seekBarColor.setOnSeekBarChangeListener( new OnSeekBarChangeListener() {
          int progress = 0;
            @Override
            public void onProgressChanged(SeekBar seekBar, int progresValue, boolean fromUser) {
              progress = progresValue;
              int lower = Color.argb(0xFF,progress*0x10000, progress*0x100, progress)+0xff000000;
              color.setBackgroundColor(lower);
            }
  
            @Override
            public void onStartTrackingTouch(SeekBar seekBar) {
  
            }
  
            @Override
            public void onStopTrackingTouch(SeekBar seekBar) {
                db.updateColor("");
            }
      });
  </code></pre>
  
  <p>Any ideas?</p>