Initializes a new instance of the ColorDifference class, setting red, green, and blue to specified value.
Alpha is set to 255, which indicates maximum tolerance for transparency.
Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Sub New ( _
    rgbTolerance As Byte _
)
public ColorDifference(
    byte rgbTolerance
)
public:
ColorDifference(
    unsigned char rgbTolerance
)
new : 
        rgbTolerance:byte -> ColorDifference
public function ColorDifference(
    rgbTolerance : byte
)
Parameters
- rgbTolerance 
 Type: Byte- The red, green, and blue color channel difference. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.