Example #1
0
        public void CmykToHsv()
        {
            var result = ColorConverter.CmykToHsv(new CMYK(56, 0, 34, 32));

            Assert.AreEqual(new HSV(144, 56, 68), result);
        }
Example #2
0
 public static bool Equals(HSV source, CMYK target)
 {
     return(source.Equals(ColorConverter.CmykToHsv(target)));
 }