Palette editor

Tetra

Tetra is a free, browser-based palette editor. Build cosine gradients and color arrays, extract palettes from images, and export to CSS, shader code, and design tool formats.

  • Free
  • Browser
  • No account

Overview

Tetra creates and organizes color palettes for Noisedeck-compatible procedural gradients and discrete color arrays. Pick colors by hand, generate them from cosine functions, or extract them from an image.

Palettes are stored in collections in the browser, and export to the formats that web, shader, and design tools use.

Features

Specifications

PlatformsWeb browser
Color spacesRGB, HSV, OkLab, OKLCH
Export formatsCSS, CSS gradient, SCSS, Tailwind, GLSL, WGSL, JSON, Tetra, hex list, PNG, SVG, ASE, GPL, share URL
Import formatsTetra, Tetra library, JSON, GPL, Paint.NET, ASE, ACO, hex list, CSS
StorageLocal to the browser (IndexedDB)
PriceFree

Get started

  1. Open tetra.noisedeck.app.
  2. Create a cosine palette or a color array, or extract one from an image.
  3. Save it to a collection.
  4. Export it as CSS, GLSL, WGSL, or a design tool swatch file.

Resources

Questions

What is a cosine palette?
A gradient defined by cosine functions for each color channel. It is compact, smooth, and easy to evaluate in a shader.
Can I use Tetra palettes in shaders?
Yes. Tetra exports palettes as GLSL and WGSL code as well as CSS and JSON.
Is Tetra free?
Yes. Tetra is free and runs in the browser without an account.