write method to add separators before every segment
color of the last separator is default instead black