Вопрос

What is the RBG value of the color white returned from the GetPixel() method? Is it (255, 255, 255) or (0, 0, 0)?

Это было полезно?

Решение

White = 255 255 255

Black = 0 0 0

There's an easy code to check it

  Byte r = Color.White.R; // r = 255
  Byte g = Color.White.G; // g = 255
  Byte b = Color.White.B; // b = 255
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top