I added AI to OKLCH Pixel Palette.
I added AI palette generation to OKLCH Pixel Palette.
The idea is pretty simple: instead of opening Lospec, Pinterest or another palette collection and scrolling until something feels close enough, you can describe the atmosphere you need in normal words.
For example:
зимний лесбледно-розовый рассветфиолетовая пещераdeep sea horrorrusty factory at sunset
The site turns the description into a palette that can immediately be used for pixel art, illustrations, UI, landing pages or website design.
This is useful when you know the mood you want, but don't know the exact colors yet. An artist can start with a scene or atmosphere. A web designer can describe the visual direction of a page and get a base palette instead of manually trying dozens of combinations.
I didn't want this feature to be an API wrapper. The model runs directly in the browser. There are no OpenAI, Gemini or other AI API requests involved in generation. After the model files are loaded, palette generation works locally on your device and doesn't require an internet connection.
The existing OKLCH color engine is still responsible for building the final palette, keeping colors inside the sRGB gamut and generating usable combinations. AI only interprets the text and chooses the visual direction.
One of the reasons this update took longer than expected was a pretty funny failure in the first version: I typed black and got brown.
The model itself understood the text, but the small layer translating language embeddings into colors generalized badly. I ended up replacing that part with semantic color anchors and a separate constraint for explicit color names.
Now the same system can handle both obvious requests such as black or фиолетовый and more descriptive ones such as заброшенная больница ночью or неоновый киберпанк под дождём.
It supports Russian and English, runs locally, and the normal manual palette tools are still available if you don't want AI at all.
Try it here: