- * Returns a colour three shades darker.
- *
- * We use darker text to indicate unselected buttons, lighter text for selected.
- * @param col
- * @return
- */
- public static Color darkerThan(Color col) {
- return col.darker().darker().darker();
- }
-
- /**
- * Returns a colour three shades brighter.
- *
- * We use darker text to indicate unselected buttons, lighter text for selected.
- * @param col
- * @return
- */
- public static Color brighterThan(Color col) {
- return col.brighter().brighter().brighter();
- }
-
- /**