code: private final void setColor(ColorSet colorSet) {
          int[] rgb = ColorSet.getRGB(colorSet);
          this.red   = rgb[0] / 255.0;
          this.green = rgb[1] / 255.0;
          this.blue  = rgb[2] / 255.0;
      }
docs: Returns the colorset's RGB values.
  
  @param colorSet
  The ColorSet.
  @return
  The ColorSet's RGB values.