# TextLayer.fill
The solid fill paint applied to the text.

{/* Do not edit this file. It is automatically generated by API Documenter. */}

## TextLayer.fill property

The solid fill paint applied to the text.

**Signature:**

```typescript
readonly fill: SolidPaint | undefined;
```

## Remarks

Text layers support at most one fill. Unlike shape layers, text fills are solid only — gradient fills are not supported. Use [TextLayer.createFill()](/en/creator-api/nodes/text-layer/create-fill) to create or update the fill.

## Example

```ts
const fill = textLayer.createFill({
  type: "SOLID",
  color: { r: 255, g: 0, b: 0 },
});

fill.color.staticValue = { r: 0, g: 0, b: 255 };
textLayer.fill?.remove();
```
