BrickPi.Sensors.RGBColor.RGBColor C# (CSharp) Method

RGBColor() public method

Initializes a new instance of the BrickPi.Sensors.RGBColor class.
public RGBColor ( byte red, byte green, byte blue ) : System
red byte /// Red value ///
green byte /// Green value ///
blue byte /// Blue value ///
return System
        public RGBColor(byte red, byte green, byte blue)
        {
            this.red = red; this.green = green; this.blue = blue;
        }
RGBColor