assertEquals(0.25f, c.black());
}
public void testColor() {
ReadonlyTColor c = TColor.newHex("00ffff");
assertEquals(0.5, c.hue(), 0.001);
assertEquals(1.0, c.brightness(), 0.001);
TColor d = TColor.newCMYK(1.0f, 0, 0, 0);
float delta = c.distanceToHSV(d);
assertEquals(0.0f, delta);
}