# Color

A set of standard colours that can be used in annotations in a GraphWidget.

- Source: [`aws-cloudwatch/lib/graph.ts`](https://github.com/aws/aws-cdk/blob/v2.273.0/packages/aws-cdk-lib/aws-cloudwatch/lib/graph.ts#L1161)
- Type last changed: v2.18.0 · 29 Mar 2022

## Example

```ts
declare const dashboard: cloudwatch.Dashboard;

dashboard.addWidgets(new cloudwatch.GraphWidget({
  // ...

  leftAnnotations: [
    { value: 1800, label: Duration.minutes(30).toHumanString(), color: cloudwatch.Color.RED, },
    { value: 3600, label: '1 hour', color: '#2ca02c', }
  ],
  verticalAnnotations: [
    { date: '2022-10-19T00:00:00Z', label: 'Deployment', color: cloudwatch.Color.RED, }
  ]
}));
```

## Properties

- `BLUE`: string (required) (static) — blue - hex #1f77b4.

- `BROWN`: string (required) (static) — brown - hex #8c564b.

- `GREEN`: string (required) (static) — green - hex #2ca02c.

- `GREY`: string (required) (static) — grey - hex #7f7f7f.

- `ORANGE`: string (required) (static) — orange - hex #ff7f0e.

- `PINK`: string (required) (static) — pink - hex #e377c2.

- `PURPLE`: string (required) (static) — purple - hex #9467bd.

- `RED`: string (required) (static) — red - hex #d62728.
