> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# CaptionBackgroundColor

Background color for burn-in and DVB-Sub captions.

Obtainable from: CaptionBackgroundColor.BLACK, CaptionBackgroundColor.NONE, CaptionBackgroundColor.WHITE, CaptionBackgroundColor.of

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/caption-settings.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-medialive-alpha/lib/caption-settings.ts#L86)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const captionBackgroundColor = medialive_alpha.CaptionBackgroundColor.BLACK;
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha

caption_background_color = medialive_alpha.CaptionBackgroundColor.BLACK
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;

CaptionBackgroundColor captionBackgroundColor = CaptionBackgroundColor.BLACK;
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;

var captionBackgroundColor = CaptionBackgroundColor.BLACK;
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"

captionBackgroundColor := medialive_alpha.CaptionBackgroundColor_BLACK()
```

## Properties

- `BLACK`: [CaptionBackgroundColor](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.CaptionBackgroundColor.html) (static) — Black.

- `NONE`: [CaptionBackgroundColor](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.CaptionBackgroundColor.html) (static) — None (transparent).

- `value`: string — The underlying string value passed to CloudFormation.

- `WHITE`: [CaptionBackgroundColor](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.CaptionBackgroundColor.html) (static) — White.

## Methods

- `of(value: string): CaptionBackgroundColor // chainable` (static) — A value not yet modelled by AWS CDK.
