Color Query in Editor AddIn

Color Query in Editor AddIn

Is it possible that the line suggested in the help documentation for retrieving the limit color:

System.Diagnostics.Debug.Print("Color: " + zenonEdLimit.Color.ToString("X6"));

leads to incorrect information, displaying 0000FF instead of FF0000?
How can we convert this to the usual Zenon RGB format?

Henry