void () { for (String hex : asList("0F0", "#0F0", "0x0F0", "0F0F", "#0F0F", "0x0F0F", "00FF00", "#00FF00", "0x00FF00", "00FF00FF", "#00FF00FF", "0x00FF00FF")) { assertEquals(Color.GREEN, fromHex(hex)); } }