All ports and connection lines are represented by different colors to denote the attribute type for the input or output, for example, integer, string, boolean and so forth. The connection line takes on the color of the output.
The following is a legend of the various connection colors in the Node Editor.