canvas.create_line setting the color code example Example: python tkinter colored line w.create_line(0, 100, 200, 0, fill="red", dash=(4, 4))