Lightness, chroma and hue sliders for a --primary token, with a live Button and Badge preview.
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: A theme token editor in OKLCH that flags colors outside sRGB and prints the CSS line, its copy button taking the bare value
When to use
- Brand, accent and theme token settings kept as a hex, rgb or oklch string
- Label, text and highlight colors chosen from a fixed palette of named presets
- Design and drawing tools: fill and stroke inspectors, brush pickers, contrast checks and shade scales
When not to use
- A whole settings, profile or data entry screen with many fields and a save bar: use the Form blocks
- A full document writing surface with a formatting toolbar, lists and links: use the Rich Text Editor blocks
Agent notes
themere-points the primary tokens on the preview row only; writeprimaryinto your theme stylesheet to restyle the appColorPickerCopybeside the CSS line copies only the oklch value, not the whole declaration the field showsColorPickerrenders no wrapper element, so its children lay out in the parent;classNameon it styles only the trigger it draws when given no children- A value passed in any syntax
parseColorreads is accepted, but the next change comes back written in the rootformat - Without
alpha, opacity in a passed value is ignored on screen and every value the picker emits is opaque
https://reui.io/components/color-picker/c-color-picker-6.mdget_example("c-color-picker-6")npx shadcn@latest add @reui/c-color-picker-6Shadcn Components in Color Picker OKLCH Token
About Shadcn Color Picker OKLCH Token
OKLCH theme token. Built by composing Badge, Button, Card, Checkbox, Color Picker and 2 more. A free, open source shadcn color picker example you can install with npx shadcn@latest add @reui/c-color-picker-6 and edit as your own code.
What You Can Build With Shadcn Color Picker OKLCH Token
- Composes Badge, Button, Card, Checkbox, Color Picker, Input Group, Label, so it drops into any project already using those components.
- Install it with the shadcn CLI: npx shadcn@latest add @reui/c-color-picker-6
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Color Picker Examples
- Inline Panel Inline color panel
- Popover Popover picker
- Color Input Color input
- Opacity Opacity
- Preset Swatches Preset swatches
- Format Converter Format converter
- Hue Wheel Hue wheel
- Recent Colors Recent colors
- Text & Highlight Text and highlight colors
- Channel Sliders Channel sliders
- Design Inspector Design inspector
- Contrast Checker Contrast checker
Related Shadcn Component Categories
Open-source shadcn combobox components for searchable selection, async lookup, and command menus.
Open-source shadcn command menu components for command palettes, global search, and power-user navigation.
Open-source shadcn context menu components for right-click menus, file actions, and table row actions.
Open-source shadcn data grid components for sorting and filtering, virtualized tables, and admin dashboards.
Open-source shadcn date selector components for date range picking, booking windows, and calendar filters.
Open-source shadcn dialog components for modal forms, focused tasks, and confirmations.
Frequently Asked Questions
When should I use Shadcn Color Picker OKLCH Token?
Use it for a theme token editor in OKLCH that flags colors outside sRGB and prints the CSS line, its copy button taking the bare value.
Shadcn Color Picker as a whole fits:
- Brand, accent and theme token settings kept as a hex, rgb or oklch string
- Label, text and highlight colors chosen from a fixed palette of named presets
- Design and drawing tools: fill and stroke inspectors, brush pickers, contrast checks and shade scales
For a whole settings, profile or data entry screen with many fields and a save bar, use the Form blocks. For a full document writing surface with a formatting toolbar, lists and links, use the Rich Text Editor blocks.
How do I install Shadcn Color Picker OKLCH Token?
Is Shadcn Color Picker OKLCH Token free to use?
Which components does Shadcn Color Picker OKLCH Token use?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.