Substance look and feel - hue-shifted themes

Hue-shifted theme is based on shifting another (not necessarily simple) theme in hue, leaving the saturation and brightness intact. The visual effect of applying a hue shift is a theme with the same color "strength" but with different hues. In order to create hue-shifted themes, use the following API in SubstanceTheme:

  /**
   * Creates a hue-shifted (in HSB space) version of <code>this</code>
   * theme. This method is part of officially supported API.
   
   @param hueShiftFactor
   *            Value in -1.0...1.0 range.
   @return Hue-shifted version of <code>this</code> theme.
   */
  public SubstanceTheme hueShift(double hueShiftFactor)

This is the only officially supported way to create a hue-shifted theme. Note that even though the constructor for org.jvnet.substance.theme.SubstanceHueShiftedTheme is public, it will not create correct hue-shifted theme for non-simple (derived and complex) themes.

Here is the original theme (Complex Green Magic):

Here is the same theme hue-shifted by 10% (factor 0.1):

Here is the same theme hue-shifted by 50% (factor 0.5):