public void TestCaseColorToHexString() { Color32 rgb = new Color32(134, 234, 123, 252); string str = ColorPresets.ColorToHexString(rgb); Color32 rgb2 = ColorPresets.HexStringToColor(str); Assert.AreEqual(rgb, rgb2); }