How to change Chart series color in asp.net

Chart Series Color
ChartSeriesColor.aspx

<%@ Page Language="C#" AutoEventWireup="true" %>

<!DOCTYPE html>

<script runat="server">
    protected void Button1_Click(object sender, System.EventArgs e)
    {
        Chart1.Series["AnnualSalary"].Color = System.Drawing.Color.DeepPink;
    }
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>How to set change Chart Series Color programmatically in asp.net</title>
    <style type="text/css">
        h2
        {
            color:DarkBlue;
            font-style:italic;
            }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h2>Chart example and tutorial: How to set change<br />Chart Series Color programmatically in asp.net</h2>
        <hr width="625" align="left" color="AliceBlue" />
        <br />
        <asp:Chart 
            ID="Chart1" 
            runat="server" 
            Width="625"
            BackColor="SaddleBrown"
            >
            <Series>
                <asp:Series 
                    Name="AnnualSalary" 
                    YValueType="Int32" 
                    ChartArea="ChartArea1"
                    Color="WhiteSmoke"
                    >
                    <Points>
                        <asp:DataPoint AxisLabel="James" YValues="36700" />
                        <asp:DataPoint AxisLabel="Sagir" YValues="17500" />
                        <asp:DataPoint AxisLabel="Maruf" YValues="14000" />
                        <asp:DataPoint AxisLabel="Moli" YValues="11300" />
                    </Points>
                </asp:Series>
            </Series>
            <ChartAreas>
                <asp:ChartArea 
                    Name="ChartArea1" 
                    BackColor="Snow" 
                    >
                    <Area3DStyle Enable3D="true"/>
                    <AxisX LineColor="SaddleBrown">
                        <MajorGrid LineColor="HotPink"/>
                        <LabelStyle ForeColor="Snow" />
                    </AxisX>
                    <AxisY LineColor="SaddleBrown">
                        <MajorGrid Enabled="true" LineColor="RosyBrown" />
                        <LabelStyle ForeColor="Snow" />
                    </AxisY>
                </asp:ChartArea>
            </ChartAreas>
        </asp:Chart>
        <br />
        <asp:Button 
            ID="Button1"
            runat="server"
            Text="Set Chart Series Color DeepPink"
            Font-Bold="true"
            OnClick="Button1_Click"
            Font-Names="Comic Sans MS"
            ForeColor="DarkBlue"
            Height="45"
            />
    </div>
    </form>
</body>
</html>
More asp.net chart example