This section will show you how to change the Tableau Line Chart colors with an example. In general, the line chart is displayed in blue color. However, we can use the color shelf to change the lines to black, red, green, etc.
For the change of Line Chart colors demo, we use the chart we built in our previous article. So, visit the Line Chart article to learn about the Tableau Data Source. For more information, please visit the List of Charts page.
How to Change Tableau Line Chart Color?
Select the Order Date (Date Field) and the Sales Amount (1 or more measures) and click on the continuous lines chart from the Show Me window to generate a line chart. Under the marks shelf, click the Color section and choose your preferred color.

Using the above method, we can change the line color, but we need a different approach if it has to represent something or the color has to say some information.
Drag and drop the Profit measure field to the Color shelf. By default, it is given color to the line where thin (light color) represents less profit and darker more profit. Next, click the Edit Colors button to change the Color palette.
Here, we have chosen the Sunrise-Sunset Diverging palette from the Edit Colors window. Click OK to close the Edit window.
You can see the line chart with changed Sunrise-Sunset Diverging colors.
Let me expand or change the Order Date field from Year to Week to see the colors better.