Hi Niranjan,
You're comparing a named color with an explicitly specified color. To improve performance nevron controls rarely stroke .NET color instances - instead they simply store ARGB information, without names. The following .NET code also returns false as the name of the second color is "ffff0000":
bool result = (Color.Red == Color.FromArgb(255, 0, 0)); // result is false