# Beste UI

> Beautiful, accessible blocks, pieces and components for shadcn/ui and Tailwind CSS, built for React and Next.js. Install one with the shadcn CLI and the code is yours to edit: no runtime dependency, nothing to upgrade.

Markdown rendition of https://ui.beste.co/tools/color-mixer. Every page on the site has one: add `.md` to any address, or send `Accept: text/markdown`.

Whole catalog for LLMs: https://ui.beste.co/llms.txt. Registry index: https://ui.beste.co/r/registry.json

---
[tools](/tools)/[color](/tools/category/color)

# Color mixer

Blend two colors across as many steps as you need, in OKLCH or sRGB, and copy the ramp as color-mix() declarations or as plain hex.

From#0d9488To#f59e0b

Mixed in

OKLCHsRGB

Steps

0%#0d948813%#279c7d25%#45a26e38%#64a65c50%#82a94663%#a1a92d75%#bfa70688%#dba300100%#f59e0b

mix.csscss

/* the whole ramp, as CSS does it */
background-image: linear-gradient(90deg in oklch, #0d9488, #f59e0b);

/* one step at a time */
--step-0: color-mix(in oklch, #f59e0b 0%, #0d9488); /* #0d9488 */
--step-13: color-mix(in oklch, #f59e0b 13%, #0d9488); /* #279c7d */
--step-25: color-mix(in oklch, #f59e0b 25%, #0d9488); /* #45a26e */
--step-38: color-mix(in oklch, #f59e0b 38%, #0d9488); /* #64a65c */
--step-50: color-mix(in oklch, #f59e0b 50%, #0d9488); /* #82a946 */
--step-63: color-mix(in oklch, #f59e0b 63%, #0d9488); /* #a1a92d */
--step-75: color-mix(in oklch, #f59e0b 75%, #0d9488); /* #bfa706 */
--step-88: color-mix(in oklch, #f59e0b 88%, #0d9488); /* #dba300 */
--step-100: color-mix(in oklch, #f59e0b 100%, #0d9488); /* #f59e0b */

## Questions

Why does the OKLCH mix look different from sRGB?+

Because sRGB blends the display signal, not the appearance. Halfway between two saturated hues it dips through a muddy grey, while OKLCH holds the chroma up and turns the hue the short way round.

Is color-mix() safe to ship?+

Yes, it is in every current browser. The hex values are listed beside each step for anywhere that has to support older ones.

How do I make a tint or a shade?+

Mix towards white for a tint and towards black for a shade. In OKLCH those stay recognisably the same color, which is the failure mode of doing it in sRGB.

## Related tools

[Color converterPaste a color in any notation and read it back in all of them, including OKLCH, Lab and Display P3, each one a click from your clipboard.](/tools/color-converter)[Tailwind color scale generatorTurn one hex color into a full 50 to 950 Tailwind scale in OKLCH, with the @theme block and the shadcn tokens ready to paste.](/tools/tailwind-color-scale)[Color blindness simulatorSee a palette the way readers with protanopia, deuteranopia, tritanopia or achromatopsia see it, and get told which pairs collapse into each other.](/tools/color-blindness)

Ship it · Ship it · Ship it · Ship it · Ship it · Ship it · Ship it · Ship it · Ship it · Ship it · Ship it · Ship it · Ship it · Ship it · Ship it · Ship it · 

## The tools are free. So is most of the library.

1935 blocks and 989 pieces for shadcn/ui and Tailwind, built on the same tokens these tools write. Install one with a command and the code is yours.

[Browse the blocksBrowse the blocks](/blocks)

No signup for the tools. MIT for free blocks, commercial licence for Pro.

## Ship the interface, keep the code.

New blocks, pieces and components every week. Install one with a command and it is yours to edit. No runtime dependency, no upgrade path to fight.

[Browse the libraryBrowse the library](/blocks)[See pricingSee pricing](/pricing)

### Library

* [Blocks](/blocks)
* [Pages](/pages)
* [Pieces](/pieces)
* [Components](/components)
* [Search](/search)

### Learn

* [Docs](/docs)
* [AI & MCP](/docs/mcp)
* [Blog](/blog)
* [Free tools](/tools)
* [What's new?](/changelog)
* [Website Builder](https://beste.co)

### More

* [Pricing](/pricing)
* [Referrals](/referrals)
* [License](/license)
* [GitHub](https://github.com/beste-co/beste-ui)

### Shadcn Blocks

* [Shadcn Hero Blocks](/blocks/hero)
* [Shadcn Feature Blocks](/blocks/feature)
* [Shadcn Pricing Blocks](/blocks/pricing)
* [Shadcn CTA Blocks](/blocks/cta)
* [Shadcn FAQ Blocks](/blocks/faq)
* [Shadcn About Blocks](/blocks/about)
* [Shadcn Stats Blocks](/blocks/stats)
* [Shadcn Footer Blocks](/blocks/footer)
* [Shadcn Navigation Blocks](/blocks/navigation)
* [Shadcn Auth Blocks](/blocks/auth)
* [Shadcn Ecommerce Blocks](/blocks/ecommerce)
* [Shadcn Portfolio Blocks](/blocks/portfolio)
* [Shadcn Showcase Blocks](/blocks/showcase)
* [Shadcn Careers Blocks](/blocks/careers)
* [Shadcn Onboarding Blocks](/blocks/onboarding)
* [Shadcn Coming Soon Blocks](/blocks/coming-soon)
* [Shadcn Post Blocks](/blocks/post)
* [Shadcn Legal Blocks](/blocks/legal)
* [Shadcn Workflow Blocks](/blocks/workflow)
* [Shadcn News Blocks](/blocks/news)

© 2026, [Beste](https://beste.co). All rights reserved.