Пример #1
0
 public ImmutableArray <string> ToStrings(RGBColor color) => ImmutableArray.Create(color.R.ToString(), color.G.ToString(), color.B.ToString());
Пример #2
0
 public ImmutableArray <string> ToStrings(RGBColor color) => ImmutableArray.Create((255 - color.R).ToString(), (255 - color.G).ToString(), (255 - color.B).ToString(), "0");