# Color Picker

> An iOS-style color picker with grid, spectrum, and RGB slider tabs, an opacity control, a hex input with alpha, and saved swatches — fully token-driven and design-system agnostic.

- Category: Input
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Dark mode: yes
- Access: premium (Atheros AI Pass)
- Page: https://builder.atheros.ai/components/color-picker
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_builder_color_picker/preview-a36640cd0447.webp

## Features

- Three input modes in a segmented tab: grid palette, spectrum canvas, and RGB sliders
- Sliding tab indicator that animates between the three modes
- Spectrum canvas with draggable saturation/value cursor and a hue slider
- RGB sliders paired with numeric inputs kept in sync
- Opacity slider with a live percentage readout and checkerboard track
- Hex input with 6- or 8-digit (alpha) parsing and a copy-to-clipboard button
- Saved swatches you can add from the current color and remove via right-click

## Accessibility

- **ARIA labels** — Tab, slider, numeric input, copy, and swatch controls carry `aria-label` values
- **Named swatches** — Grid cells and saved swatches expose their hex value via `aria-label`
- **Native inputs** — Range and number inputs are keyboard operable and labeled
- **Decorative icons** — Inline SVG glyphs are presentational within labeled buttons
- **Reduced motion** — `prefers-reduced-motion: reduce` disables tab and panel transitions

## Keyboard shortcuts

- `Enter` — Commit the hex input value

## Common questions

**Which frameworks is Color Picker available in?**

Color Picker ships as Vanilla, React + CSS and React + Tailwind — HTML, CSS, JS and React source you can copy, download or clone into Atheros AI Builder.

**Is the Color Picker input component free?**

Color Picker is a premium component. Anyone can preview it; the source, downloads and AI customisation are included with Atheros AI Pass.

**Does Color Picker support dark mode?**

Yes. Color Picker ships light and dark themes. Switch the preview to dark mode to compare them.

## Get the code

Preview Color Picker live, then sign in to copy or download the source, apply another design system, or ask the AI assistant to change it: https://builder.atheros.ai/components/color-picker

Every component on https://builder.atheros.ai is also reachable from Claude Code, Cursor and Codex through the Atheros MCP server (paid plans). Component index: https://builder.atheros.ai/llms-components.txt
