> ## Documentation Index > Fetch the complete documentation index at: https://www.canva.dev/docs/apps/llms.txt > Use this file to discover all available pages before exploring further. # Fill API reference for the Fill type. Describes how a fill is filled with color or media. If both `media` and `color` are defined, `media` takes precedence. ## Properties A media fill, if any. **Parameters** A state that creates an image fill. The type of media. The only valid value is `"image"`. A unique identifier that points to an image asset in Canva's backend. If `true`, the image is flipped horizontally. If `true`, the image is flipped vertically. A state that creates a video fill. The type of media. The only valid value is `"video"`. A unique identifier that points to a video asset in Canva's backend. If `true`, the video is flipped horizontally. If `true`, the video is flipped vertically. **Returns** `void` An image that fills the interior of a media. The type of media. The only valid value is `"image"`. A unique identifier that points to an image asset in Canva's backend. If `true`, the image is flipped horizontally. If `true`, the image is flipped vertically. A video that fills the interior of a media. The type of media. The only valid value is `"video"`. A unique identifier that points to a video asset in Canva's backend. If `true`, the video is flipped horizontally. If `true`, the video is flipped vertically. A color fill, if any. **Parameters** Properties of state}> The type of color. The only valid value is `"solid"`. The color of the fill. This must be a valid, six-digit hex code, prefixed with a `#` symbol. * Must be six characters long. * Must start with a `#`. * Must use lowercase letters. **Example** ```ts "#ff0099" ``` **Returns** `void` A solid color that fills an interior. The type of color. The only valid value is `"solid"`. The color of the fill. This must be a valid, six-digit hex code, prefixed with a `#` symbol. * Must be six characters long. * Must start with a `#`. * Must use lowercase letters. **Example** ```ts "#ff0099" ``` Represents design content that the SDK doesn't support. The only valid value is `"unsupported"`.