class Color
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.CloudWatch.Color | 
|  Java | software.amazon.awscdk.services.cloudwatch.Color | 
|  Python | aws_cdk.aws_cloudwatch.Color | 
|  TypeScript (source) | @aws-cdk/aws-cloudwatch»Color | 
A set of standard colours that can be used in annotations in a GraphWidget.
Example
declare const dashboard: cloudwatch.Dashboard;
declare const executionCountMetric: cloudwatch.Metric;
declare const errorCountMetric: cloudwatch.Metric;
dashboard.addWidgets(new cloudwatch.GraphWidget({
  title: "Executions vs error rate",
  left: [executionCountMetric],
  right: [errorCountMetric.with({
    statistic: "average",
    label: "Error rate",
    color: cloudwatch.Color.GREEN,
  })]
}));
Properties
| Name | Type | Description | 
|---|---|---|
| static BLUE | string | blue - hex #1f77b4. | 
| static BROWN | string | brown - hex #8c564b. | 
| static GREEN | string | green - hex #2ca02c. | 
| static GREY | string | grey - hex #7f7f7f. | 
| static ORANGE | string | orange - hex #ff7f0e. | 
| static PINK | string | pink - hex #e377c2. | 
| static PURPLE | string | purple - hex #9467bd. | 
| static RED | string | red - hex #d62728. | 
static BLUE
Type:
string
blue - hex #1f77b4.
static BROWN
Type:
string
brown - hex #8c564b.
static GREEN
Type:
string
green - hex #2ca02c.
static GREY
Type:
string
grey - hex #7f7f7f.
static ORANGE
Type:
string
orange - hex #ff7f0e.
static PINK
Type:
string
pink - hex #e377c2.
static PURPLE
Type:
string
purple - hex #9467bd.
static RED
Type:
string
red - hex #d62728.
