public void ToHex(int r, int g, int b, string expected) { var rgb = new Rgb(r, g, b); rgb.ToHex().ShouldBe(expected); }