Class FormattingUtil.Ansi

java.lang.Object
net.neoforged.testframework.summary.FormattingUtil.Ansi
Enclosing class:
FormattingUtil

public static final class FormattingUtil.Ansi extends Object
  • Field Details

  • Constructor Details

    • Ansi

      public Ansi()
  • Method Details

    • convertRGBToAnsiCode

      public static String convertRGBToAnsiCode(int rgb)
    • calculateDistance

      private static double calculateDistance(int red1, int green1, int blue1, int red2, int green2, int blue2)
    • xyzToLab

      private static double[] xyzToLab(double r, double g, double b)