Exemple #1
0
            public void ToHexStringWithWhiteFormatsString()
            {
                var accent = new Color.RGB(255, 255, 255);

                Assert.AreEqual("#FFFFFF", accent.ToHexString());
            }
Exemple #2
0
            public void ToHexStringWithAccentFormatsString()
            {
                var accent = new Color.RGB(240, 150, 9);

                Assert.AreEqual("#F09609", accent.ToHexString());
            }