Color · Made a little simpler

Responsive Color Swatch

Compare an sRGB color under five display simulations. Set light and dark colors for mobile, base and desktop widths, and export responsive CSS or a JSON report.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Responsive CSS preview

Swatch rendered by the selected responsive CSS
Mobile · light
Base · light
Desktop · light
Mobile · dark
Base · dark
Desktop · dark

Display simulations

Composited input #FF4500. Encoded brightness 117 of 255.

These examples compare illustrative sRGB transforms. Real screens vary with their models, calibration and viewing conditions.

OLED

Original
#FF3B00

A saturation and contrast lift with clipped dark channels.

LCD

Original
#FB5010

A small veil mixed into the color with a reduced contrast range.

E-Ink

Original
#777777

Sixteen levels of gray from rounded encoded luma.

CRT

Original
#FF3B00

A slight channel response curve change.

Projector

Original
#DC6F46

Reduced color spread and a brighter black floor.

Base color and display canvas

The light base color also feeds the display examples. Alpha blends over the opaque canvas.

Viewport boundaries
Responsive color overrides

Leave an override empty to inherit the most recent matching color.

Responsive color export

#7D9065rgb(125, 144, 101)

Preview composited on white. HEX stores alpha in 8 bits; decimal alpha is retained in RGB and HSL.

HEX#7D9065
RGBrgb(125, 144, 101)
HSLhsl(86.512 17.551% 48.039%)
RGB percentrgb(49.02% 56.471% 39.608%)
Normalized RGBA0.4902, 0.5647, 0.3961, 1
CSS variable--color: #7D9065;

Color names use standard CSS keywords, such as red or rebeccapurple.

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Responsive Color Swatch: how to use it

  1. Choose a light base color and a display canvas, then compare the OLED, LCD, E-Ink, CRT and projector models.
  2. Set viewport boundaries and optional light and dark color overrides. Test different widths and themes in the native media-query preview.
  3. Copy or download the responsive CSS or the JSON display and settings report.

Limits and notes

Colors accept CSS names, HEX, and numeric sRGB RGB or HSL values. The illustrative display transforms use composited sRGB values. They use neither a device profile nor a hardware measurement.

How your privacy works →

Responsive Color Swatch: common questions

What changes when a color has alpha?

The display models blend the light base color over the opaque canvas before processing it. The CSS export keeps the entered alpha for use with your own page background.

How does the monochrome display simulation work?

E-Ink uses an encoded RGB luma estimate and rounds it to one of sixteen grayscale levels. Actual readers and their lighting can differ.

What happens when I leave a responsive override empty?

The browser keeps the preceding matching color. For example, an empty Dark mobile color uses Dark base if set, or the matching light color if Dark base is also empty.

Guides