void () { for (String hex : asList("F00", "#F00", "0xF00", "F00F", "#F00F", "0xF00F", "FF0000", "#FF0000", "0xFF0000", "FF0000FF", "#FF0000FF", "0xFF0000FF")) { assertEquals(Color.RED, fromHex(hex)); } }