Color Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Colors that can be read from the color sensor
C#
public enum Color
type Color =
Public Enum Color
- Inheritance
-
Color
Name | Value | Description |
---|---|---|
None | 0 | No color was read |
Black | 1 | Black |
Blue | 2 | Blue |
Green | 3 | Green |
Yellow | 4 | Yellow |
Red | 5 | Red |
White | 6 | White |
Brown | 7 | Brown |
Product | Versions |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |