@Test
public void testToHSVA() throws Exception {

    Assert.assertEquals(0, ARGB.toHSVA(ARGB.toARGB(1f, 1f, 0f, 0f))[0], 0.1);
    Assert.assertEquals(120, ARGB.toHSVA(ARGB.toARGB(1f, 0f, 1f, 0f))[0], 0.1);
    Assert.assertEquals(240, ARGB.toHSVA(ARGB.toARGB(1f, 0f, 0f, 1f))[0], 0.1);
}