Skip to main content

zColor()

Using zColor(), you can specify in your schema that a string has to be a color.

In the Remotion Studio, a color picker will be displayed allowing to change and validate the color picker.

Compatibility​

BrowsersServersEnvironments
Chrome
Firefox
Safari
Node.js
Bun
Serverless Functions

Schema validation works in all listed environments. The visual editor is only available in Remotion Studio.

See also​