Class DislikeAnalyzer

java.lang.Object
org.glavo.monetfx.internal.dislike.DislikeAnalyzer

public final class DislikeAnalyzer extends Object
Check and/or fix universally disliked colors.

Color science studies of color preference indicate universal distaste for dark yellow-greens, and also show this is correlated to distate for biological waste and rotting food.

See Palmer and Schloss, 2010 or Schloss and Palmer's Chapter 21 in Handbook of Color Psychology (2015).

  • Method Details

    • isDisliked

      public static boolean isDisliked(Hct hct)
      Returns true if color is disliked.

      Disliked is defined as a dark yellow-green that is not neutral.

    • fixIfDisliked

      public static Hct fixIfDisliked(Hct hct)
      If color is disliked, lighten it to make it likable.