A simple and intuitive tool to create beautiful color scales for your design projects. Generate harmonious color palettes with customizable scales that work perfectly with Tailwind CSS and standard CSS workflows.
- Smart Color Scale Generation: Automatically generates 11-shade color scales (50-950) based on your input color
- Intelligent Base Scale Detection: Automatically determines the optimal position for your base color within the scale
- Multiple Color Support: Add up to 3 color scales (primary, secondary, tertiary)
- Flexible Export Options:
- Tailwind CSS v3 & v4 formats
- Standard CSS custom properties
- Multiple color formats: HEX, RGB, HSL, OKLCH
- Real-time Preview: See your color scales applied to UI components (cards, buttons, visualizations)
- Dark Mode Support: Built-in dark/light theme toggle
- Responsive Design: Works seamlessly on desktop and mobile devices
- One-Click Copy: Click any color to copy its hex value to clipboard
Check out the live demo at tintkit
- Node.js (version 16 or higher)
- npm or yarn package manager
- Clone the repository:
git clone https://github.com/subhajitroycode/tintkit.git
cd tintkit
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser and navigate to
http://localhost:5173
npm run build
The built files will be available in the dist
directory.
- Choose Your Base Color: Use the color picker or enter a hex code
- Name Your Color: Give your color scale a meaningful name
- Adjust Base Scale (optional): Override the auto-detected base scale position
- Add More Colors: Click "Add secondary color" to create additional color scales
- Export Your Scales: Use the export buttons to get code in your preferred format
--color-primary-50: #f0f9ff;
--color-primary-100: #e0f2fe;
--color-primary-500: #0ea5e9;
--color-primary-900: #0c4a6e;
'primary': {
'50': '#f0f9ff',
'100': '#e0f2fe',
'500': '#0ea5e9',
'900': '#0c4a6e',
},
:root {
--color-primary-50: #f0f9ff;
--color-primary-100: #e0f2fe;
--color-primary-500: #0ea5e9;
--color-primary-900: #0c4a6e;
}
Preview your color scales with real UI components:
- Cards: See how your colors work in card-based layouts
- Buttons: Preview button states and variants
- Visuals: Check your colors in charts and data visualizations
- Frontend Framework: React 19
- Styling: Tailwind CSS v4
- Build Tool: Vite
- Icons: React Icons
- Charts: Recharts
- Color Processing: Custom color conversion utilities
src/
├── components/
│ ├── Dashboard/ # Control panel and input components
│ ├── ScaleDisplay/ # Color scale visualization
│ ├── UISamples/ # UI component previews
│ └── Modals/ # Export modal
├── contexts/ # React context for color state
├── utils/ # Color generation and conversion utilities
└── main.jsx # Application entry point
tintkit uses a sophisticated algorithm to generate harmonious color scales:
- Base Scale Detection: Analyzes the lightness of your input color to determine the optimal scale position (50-950)
- Lighter Shades: Progressively increases lightness while slightly decreasing saturation
- Darker Shades: Progressively decreases lightness while slightly increasing saturation
- Boundary Protection: Ensures colors don't exceed perceptual limits
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Follow the existing code style and conventions
- Add tests for new features
- Update documentation as needed
- Ensure responsive design principles are maintained
tintkit works in all modern browsers that support:
- ES6+ JavaScript features
- CSS Custom Properties
- CSS Grid and Flexbox
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by the legendary uicolors.app
- Built with modern web technologies for optimal performance
- Designed with accessibility and usability in mind
If you find tintkit helpful, consider:
- ⭐ Starring the repository
- 🐛 Reporting bugs via GitHub issues
- 💡 Suggesting new features
- 🤝 Contributing to the codebase
Follow me on my social media
Made with ❤️ for designers and developers who love beautiful colors.