protected final Color decodeColor(String key,float hOffset,float sOffset,float bOffset,int aOffset){
  if (UIManager.getLookAndFeel() instanceof SeaGlassLookAndFeel) {
    SeaGlassLookAndFeel laf=(SeaGlassLookAndFeel)UIManager.getLookAndFeel();
    return laf.getDerivedColor(key,hOffset,sOffset,bOffset,aOffset,true);
  }
 else {
    return Color.getHSBColor(hOffset,sOffset,bOffset);
  }
}

protected final Color decodeColor ( String key , float hOffset , float sOffset , float bOffset , int aOffset ) { if ( UIManager . getLookAndFeel ( ) instanceof SeaGlassLookAndFeel ) { SeaGlassLookAndFeel laf = ( SeaGlassLookAndFeel ) UIManager . getLookAndFeel ( ) ; return laf . getDerivedColor ( key , hOffset , sOffset , bOffset , aOffset , true ) ; } else { return Color . getHSBColor ( hOffset , sOffset , bOffset ) ; } }
decodes and returns a color , which is derived from a base color in ui defaults .
