Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProType a color in any format and read it back as hex, rgb, hsl and oklch, each with a Copy button and a live swatch; invalid input is explained and nothing is replaced while you type. Use this when people move colors between design tools and CSS.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Designers and developers need the same color in several syntaxes, including modern oklch().
Do not use it when: For picking a color visually, use the color picker panel.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
initial | string | #0f766e | The starting color text. |
rgbToOklch(rgba) and toOklchString(rgba) are exported.
The pattern ships with a Testing Library test (color-format-converter.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.