Text Color

txt-color

Sets the text color for a text overlay on video.

txt-color accepts a hex color value (without the # prefix) in the RGB, ARGB, RRGGBB or AARRGGBB form. In the 4- and 8-digit forms the alpha comes first, as it does everywhere in Imgix — 80FFFFFF is white at 50% opacity. CSS writes alpha last, so a value copied from a stylesheet will be wrong: FFFFFF80 is opaque, not translucent. Use txt-color[N] to set the color for a specific text layer.

This parameter works identically to txt-color in the Rendering API.

For the full list of text overlay parameters, see the Text Overlays overview.