
From a reference / Glass Garden
When does shifting colour support a surface?
Follow colour through change.
Explore the connection & keep your decisions
Use the glass reference to think about light-dependent character. Then inspect the film model on its own terms.
What this experiment representsThin-film interference is a different mechanism from pigment colour or frosted-glass diffusion. The reference is an analogy, not proof that the pictured material has this film.
Read the study and its source notesTry one considered change.
- Keep refractive settings fixed and record one thickness.
- Vary thickness while holding the viewing conditions steady.
- Compare a restrained band of colour with a stronger shift. Decide where that variation would help an interface and where it would distract.
Your judgement / optional
Keep the reason with the result.
Notes stay on this device when saved. Copying a study link includes them. The reference guides your thinking; choosing it does not apply a palette.
The link retains the model parameters; an exported still records one appearance.
Move through thickness to see colour emerge from distance.
Thin-Film Interference
The colour of a soap bubble, a beetle’s back, and oil on a puddle is not pigment — it is interference. Two reflections meet out of step by 4π·n·d·cosθ/λ, and what survives is integrated here at 24 wavelengths. Drag the thickness and watch the fringes climb Newton’s series.
Colour, measured in distance.
Read across the wedge from 60 to 900 nm. The marker follows your film thickness; the angle controls this flat-surface comparison. The colour preview uses the selected material’s display exposure (6.5×); the spectral curve shows unamplified reflectance.
Illustrative two-interface interference model. The angle is measured inside the film; the curve shows reflectance before display exposure.
A little interference at the edge.
Use the sampled colour as a fine rule or small accent while keeping the reading ground steady.
Keep one. Try another.
Pin a plate before changing the controls. Each pin keeps its own recipe and lighting context.
Carry this specimen into another tool
The image travels locally in this tab with its source recipe. This is a flattened plate: the destination does not recreate fluid motion or convert material coefficients.
Keep one. Try another.
Pin a plate before changing the controls. Each pin keeps its own recipe and lighting context.
Carry this specimen into another tool
The image travels locally in this tab with its source recipe. This is a flattened plate: the destination does not recreate fluid motion or convert material coefficients.
Keep the reference and your decisions
Download the starting reference, current settings and your decision notes alongside your specimen. Add notes in the reference panel.
Further reading
Questions & notes
A closer look at the ideas, materials and methods behind the work.
Perceptual lightness invariance, dark mode halation physics, and wide P3 gamut token architecture.
2 questionsHSL calculates lightness as a purely mathematical average of RGB primaries rather than human photoreceptor sensitivity. As a result, pure yellow at 50% HSL lightness appears nearly 9 times brighter to the human eye than pure blue at 50% lightness, causing severe contrast ratio failures during light/dark mode inversions.
Related questions
OKLCH separates Lightness (L), Chroma (C), and Hue (H) in the perceptual color space developed by Björn Ottosson. A shared L value aims for approximately equivalent perceptual lightness across hues, but surrounding contrast, gamut limits, typography and viewing conditions still affect what people see.
Related questions
Tailwind CSS v4 natively supports OKLCH in the new @theme block without requiring color utility plugins. Define the base variable with an OKLCH formula, and Tailwind automatically maps it to utilities with alpha opacity modifiers.
@theme {
--color-primary-accent: oklch(0.724 0.122 85.099104);
--color-surface-obsidian: oklch(0.124 0.012 265.114111);
}Pure #000000 backgrounds create an extreme 21:1 contrast disparity against pure white text, causing the iris to dilate while photoreceptors struggle to focus on sharp edges. This optical phenomenon, known as halation, causes letters to bleed and blur. Chromologium uses deep OKLCH charcoal (oklch(0.124 0.012 265)) to eliminate halation while preserving true contrast.
Unlike the fixed ratio used by WCAG 2.1, APCA considers polarity, font weight, spatial frequency and the non-linear response of human vision. OKLCH lightness can make palette exploration more legible, but APCA still needs to be calculated for the actual text, size and background; no colour space guarantees readable typography by itself.
Modern mobile devices, OLED screens, and Retina displays render the Display P3 color space, which contains 25% more vivid color volume than 1996 sRGB. By defining colors in OKLCH, Chromologium automatically accesses vivid wide-gamut hues on supported screens while gracefully clipping to standard gamut without color shifts.