A premium color system generator for designers and developers.
Generate complete, production-ready color systems from a single brand color β with perceptually uniform shade scales, color harmonies, accessibility audits, dark mode palettes, and multi-format export.
Live Demo β Β· Report Bug β Β· Request Feature β
- π― One Color In, Full System Out β Enter any color (HEX, RGB, or HSL) and instantly generate a complete design system
- π Perceptually Uniform Shades β 11-step shade scale (50β950) using LAB/LCH color space interpolation, not naive lighten/darken
- π Interactive Color Wheel β Drag to adjust hue in real-time with harmony colors visualized on the wheel
- π Color Harmonies β Complementary, analogous, triadic, and split-complementary palettes with full shade scales
- π Dark Mode Generation β Complete semantic dark palette with a realistic UI mockup preview
- βΏ Accessibility Audit β WCAG 2.1 contrast ratings for every shade against white and black text
- βοΈ Live Text Preview β Test custom text with any foreground/background combination and adjustable font sizes
- π¨ Harmony Mixer β Side-by-side color pairing previews with contrast ratios
- πΎ Save & Load Palettes β Save unlimited palettes to local storage for later use
- π¦ Multi-Format Export β CSS custom properties, Tailwind config, SCSS variables, and JSON with custom naming
- πͺ Adaptive UI β The app's own accent color adapts to match your input color
- π± Fully Responsive β Premium experience on desktop, tablet, and mobile
- Node.js 18+
- npm, yarn, or pnpm
# Clone the repository
git clone https://github.com/rehan-devs/chromacraft-studio.git
cd chromacraft-studio
# Install dependencies
npm install
# Start development server
npm run dev
The app will be running at http://localhost:5173# Create optimized production build
npm run build
# Preview production build locally
npm run previewThe dist/ folder will contain your production-ready static files.
| Technology | Purpose |
|---|---|
| React 18 | UI framework with functional components and hooks. |
| TypeScript | Type safety in strict mode. |
| Vite | Build tool & dev server |
| Tailwind CSS | Utility-first styling |
| Chroma.js | Color scienceβLAB/LCH interpolation, contrast ratios. |
| React Router v6 | Client-side routing |
| Lucide React | Icon system. |
| Framer Motion | Spring-physics animations and micro-interactions. |
| Zero UI library dependencies | Every component is custom-built. |
src/
βββ App.tsx # Root application component
βββ main.tsx # Entry point
βββ index.css # Global styles, fonts, grain texture
βββ types/
β βββ index.ts # TypeScript interfaces
βββ hooks/
β βββ useColorEngine.ts # Core color system generation
β βββ useSavedPalettes.ts # localStorage palette management
β βββ useClipboard.ts # Clipboard API wrapper
βββ utils/
β βββ colorGenerator.ts # Shade scales, harmonies, dark mode
β βββ contrastChecker.ts # WCAG contrast calculations
β βββ exporters.ts # CSS, Tailwind, SCSS, JSON export
β βββ colorParser.ts # Multi-format color input parsing
βββ components/
βββ Layout/ # Header, Footer
βββ Input/ # Color input, format toggle, color wheel
βββ Palette/ # Shade scale, harmonies, dark mode
βββ Accessibility/ # Contrast grid, live preview
βββ Export/ # Multi-format code export
βββ SavedPalettes/ # Palette library drawer
βββ Common/ # Toast, copy button, section title, grain
ChromaCraft Studio uses perceptually uniform color spaces for all color math:
- Shade generation interpolates in LAB space between warm white (#FFFEF9) and warm black (#121210)
- Light tints are subtly desaturated for a natural feel
- Dark shades shift hue slightly toward blue, mimicking natural shadow behavior
- Dark mode palettes are generated using LCH color space for precise lightness and chroma control
- Contrast ratios follow WCAG 2.1 guidelines with AAA/AA/AA Large/Fail ratings
- Feature Typical Tools ChromaCraft Studio
- Color interpolation HSL (perceptually uneven) LAB/LCH (perceptually uniform)
- Dark mode Manual or none Auto-generated semantic palette with UI preview
- Accessibility Basic or separate tool Integrated audit with live text preview
- Color wheel Static display Interactive, draggable with harmony visualization
- Export Single format CSS, Tailwind, SCSS, JSON with custom naming
- App feel Generic dashboard Editorial design tool with grain texture & micro-interactions
- Color Blindness Simulation β Preview palettes as seen by colorblind users
- Figma Plugin β Export directly to Figma variables
- VS Code Extension β Generate palettes without leaving your editor
- AI Color Naming β Intelligent, memorable names for your shades
- Brand Guidelines Export β Generate PDF documentation
- Team Collaboration β Share and sync palettes across teams
- Color Trend Analysis β Suggestions based on current design trends
Contributions are welcome! Feel free to:
Fork the repository
Create your feature branch (git checkout -b feature/amazing-feature)
Commit your changes (git commit -m 'Add amazing feature')
Push to the branch (git push origin feature/amazing-feature)
Open a Pull Request
Created by Rehan β GitHub | Website
β If you find this useful, please star the repo!
This project is open source and available under the MIT License.
Craft color systems with intention. Built with β€οΈ for designers who care about craft.