They are colored based on the signal color. Green for open, red for reserved and yellow for watch your step as per usual. Chain signals have an extra circle to tell them apart. They appear when you hold rail-related items in your hand like signals or locomotive.