Color (@NotNull Color background) { int alpha = HOVERED_BACKGROUND.getAlpha(); if (alpha == 255) return HOVERED_BACKGROUND; if (alpha == 0) return background; return ColorUtil.mix(new Color(HOVERED_BACKGROUND.getRGB()), background, alpha / 255.0); }