How to use Chart color palette in asp.net

Chart Palette (chart color palette)
HowToUseChartPalette.aspx

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

<!DOCTYPE html>

<script runat="server">
    protected void Button1_Click(object sender, System.EventArgs e)
    {
        Chart1.Palette = ChartColorPalette.SemiTransparent;
    }
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>How to use Chart Palette (chart color palette) in asp.net</title>
    <style type="text/css">
        h2
        {
            color:DodgerBlue;
            font-style:italic;
            }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h2>Chart example and tutorial: How to use<br /> Chart Palette in asp.net</h2>
        <hr width="420" align="left" color="DodgerBlue" />
        <br />
        <asp:Chart 
            ID="Chart1" 
            runat="server" 
            BorderlineDashStyle="DashDot"
            BorderlineWidth="2"
            BorderlineColor="LightBlue"
            Palette="EarthTones"
            >
            <Legends>
                <asp:Legend 
                    Name="ChartLegend" 
                    Docking="Top"
                    BackColor="Wheat"
                    Alignment="Center"
                    >
                </asp:Legend>
            </Legends>
            <Series>
                <asp:Series 
                    Name="Salary" 
                    YValueType="Int32" 
                    ChartType="Pie" 
                    ChartArea="DefaultChartArea"
                    >
                    <Points>
                        <asp:DataPoint AxisLabel="Sagor" YValues="7300" />
                        <asp:DataPoint AxisLabel="Sagorika" YValues="22695" />
                        <asp:DataPoint AxisLabel="Rashid" YValues="16250" />
                        <asp:DataPoint AxisLabel="Mukto" YValues="9750" />
                        <asp:DataPoint AxisLabel="Sonia" YValues="27500" />
                    </Points>
                </asp:Series>
            </Series>
            <ChartAreas>
                <asp:ChartArea 
                    Name="DefaultChartArea" 
                    BackColor="Ivory" 
                    Area3DStyle-Enable3D="true"
                    >
                </asp:ChartArea>
            </ChartAreas>
        </asp:Chart>
        <br />
        <asp:Button 
            ID="Button1"
            runat="server"
            Text="Set Chart Palette SemiTransparent"
            Font-Bold="true"
            OnClick="Button1_Click"
            ForeColor="DodgerBlue"
            Height="45"
            />
    </div>
    </form>
</body>
</html>
More asp.net chart example