Nanosecond Timer
High-precision online stopwatch with nanosecond accuracy. Lap times, split times, and copy results.
Start typing to search tools...
Generate professional OKLCH color palettes and CSS @theme blocks for Tailwind CSS v4.
This will be the prefix for your classes (e.g. bg-brand-500)
Our free Tailwind CSS v4 palette generator is a specialized utility designed to help developers transition to the new CSS-first configuration model introduced in Tailwind CSS v4. Unlike previous versions that relied on a JavaScript file, v4 uses the @theme directive directly in your CSS files.
This tool uses OKLCH color interpolation to generate perceptually uniform shades. This ensures that your brand colors maintain consistent visual weight across all brightness levels, from light backgrounds to deep shadows. It is the modern standard for accessible UI design and high-quality digital products.
Tailwind CSS v4 has embraced OKLCH because it solves the "brightness mismatch" problem inherent in HSL and RGB. In HSL, blue at 50% lightness looks much darker than yellow at 50% lightness. OKLCH is designed around how the human eye actually perceives light, allowing you to create palettes that are perceptually uniform and significantly easier to make WCAG compliant.
Tailwind v4 shifts to a CSS-first configuration using the @theme directive. It also promotes the use of OKLCH, a perceptually uniform color space that ensures consistent lightness across different hues, making it superior to HSL or RGB for UI design.
The @theme directive replaces the tailwind.config.js for most configuration needs. You define your theme variables (like colors, spacing, and fonts) directly in your CSS file using standard CSS variables syntax within the @theme block.
OKLCH allows for more predictable color adjustments. Unlike HSL, where "50% lightness" can look very different between yellow and blue, OKLCH L (Lightness) is perceptually uniform. This makes it easier to create accessible palettes with consistent contrast.
Simply copy the generated @theme CSS block and paste it into your main CSS file (e.g., app.css). Tailwind v4 will automatically detect these variables and make them available as utility classes like bg-brand-500.
Yes, the Tailwind v4 Palette Generator is completely free and runs entirely in your browser. Your color data is never sent to any server.
High-precision online stopwatch with nanosecond accuracy. Lap times, split times, and copy results.
Create optimized .cursorrules and .clinerules files for Cursor, Windsurf, and Cline.
Convert text to beautiful ASCII text art banners instantly. Customize fonts, characters, spacing, and generate code comment blocks with 100% privacy.
Encode and decode Base64 online. Supports text and files. Free, fast, and private.