f.lux: Automatic Screen Color Temperature for Healthy Sleep
f.lux: Your Screen’s Natural Day–Night Cycle
Ever notice how people texting at night have that eerie blue glow? Or how you wake up with a brilliant idea, open your laptop, and get blinded by a screen that feels like staring into the noon sun at midnight?
Computer screens are designed to look like daylight. That’s perfect at 10 a.m. It’s catastrophic at 10 p.m. Blue-rich light after sunset signals your brain that the sun is still up, suppressing melatonin and delaying your circadian sleep phase by hours.
f.lux (https://justgetflux.com) is a tiny, free utility that solves this with one elegant trick: it makes the color of your display adapt to the time of day. Warm amber after sunset. Bright, daylight-balanced white in the morning. The transition is gradual, automatic, and barely noticeable once you’re used to it, until you turn it off and realize how harsh your screen used to be.
For anyone serious about sleep hygiene, especially after reading Dr. Wozniak’s case against evening screens f.lux is the single most effective zero-effort intervention you can make. See Good Sleep, Good Learning, Good Life for the full argument on why protecting your evening light environment is non-negotiable for quality sleep.
What It Does
🌅 Automatic Color Temperature Shifting
f.lux continuously adjusts your display’s color temperature across the day:
| Time of Day | Color Temperature | Effect |
|---|---|---|
| Morning / Day | ~6500K (daylight white) | Alert, focused, matches natural sunlight |
| Sunset | Gradual transition to ~3400K | Warm amber begins replacing blue light |
| Late Evening | ~2700K or lower (candlelight) | Minimal blue light, melatonin-friendly |
| Bedtime / Darkroom | Optional ultra-warm or disable | Maximum circadian protection |
The app uses your location (latitude/longitude or ZIP code) to calculate local sunrise and sunset times, so the shift always aligns with your actual photoperiod; even when traveling.
🎛️ Flexible Control
- Preset modes: Recommended, Classic f.lux, Working Late, Far from the Equator, Cave Painting, etc.
- Manual override: Temporarily disable for color-sensitive work (design, photo editing) with a quick hotkey or menu click.
- Wake-time setting: Tell f.lux when you wake up, and it will adjust the transition curve to match your personal schedule.
- Darkroom mode: For late-night work when even amber is too bright, drops to deep red.
🔗 Smart Lighting Integration
f.lux can sync with Philips Hue smart bulbs, so your room lighting follows the same color curve as your screen. Your entire environment transitions together, which is significantly more effective than treating the screen in isolation.
Platforms & Installation
f.lux is free on every major platform:
| Platform | Download | Notes |
|---|---|---|
| Windows | justgetflux.com | Full features, taskbar integration |
| macOS | justgetflux.com | Menu-bar app, supports Night Shift coexistence |
| Linux | justgetflux.com | X11 and Wayland support (varies by distro) |
| iOS | App Store | Sideload or jailbreak for full f.lux; iOS native Night Shift is Apple’s built-in alternative |
| Android | justgetflux.com | Root required for full system-level control; non-root overlay mode available |
macOS Quick Start (official guide):
- Download the
.zipfrom justgetflux.com. - Drag f.lux to Applications.
- Launch, set your ZIP code or latitude/longitude, and choose your wake time.
- f.lux begins working immediately; it will prompt for accessibility permissions to control the display.
The Science Behind It
Why Blue Light Matters
The human circadian system is primarily entrained by light in the blue-cyan spectrum (~480 nm). Photoreceptive ganglion cells in the retina containing melanopsin signal the suprachiasmatic nucleus (SCN) that it is daytime. This suppresses pineal melatonin secretion and delays the circadian sleep phase.
Computer screens, LED lighting, and smartphones emit strongly in this band. After sunset, they function as artificial zeitgebers that trick your brain into thinking the day is still ongoing. The result:
- Delayed sleep onset (especially problematic for those already prone to DSPS)
- Reduced melatonin amplitude
- Lower sleep quality even if you do fall asleep
- Morning grogginess due to phase misalignment
What f.lux Actually Changes
f.lux reduces the short-wavelength (blue) emission of your display by shifting the white point toward longer wavelengths (amber/red). It does not merely dim the screen; a grayscale dimmer still preserves the blue spectral peak. f.lux changes the spectral composition itself, which is what the circadian system responds to.
Important caveat: f.lux is not a license to use screens until midnight. It reduces the damage; it does not eliminate it. The best sleep hygiene still involves putting devices away 1–2 hours before bed. f.lux is harm reduction, not harm elimination.
When to Use f.lux
Use it if you:
- Work or browse on screens after sunset
- Have trouble falling asleep or suspect a delayed sleep phase
- Suffer from eye strain or headaches in the evening
- Want a zero-cost, zero-hassle sleep intervention
- Share a workspace where dimming the room is impractical
Consider supplementing with:
- Physical blue-light blocking glasses (for situations where you cannot install software)
- Smart bulbs that shift to warm white/amber in the evening
- A “screen curfew” no devices 60–90 minutes before intended sleep time
- Morning bright-light exposure to anchor the other end of your circadian cycle
Limitations & Honest Notes
- Color-critical work: Designers, photographers, and video editors will need to disable f.lux during editing sessions. The warm cast makes accurate color judgment impossible. Use the one-hour or until-sunrise disable options.
- Not a cure-all: f.lux does not fix underlying sleep disorders, sleep apnea, or phase disorders. It is one brick in the wall of sleep hygiene.
- iOS restrictions: Apple’s Night Shift is a system-level alternative, but the original f.lux app (which predated Night Shift by years) is no longer available on the App Store in its full system-control form due to iOS sandboxing. Night Shift is adequate for most users.
- Measurement caveats: Consumer color-temperature meters may show that even “warm” screens still emit measurable blue light. f.lux reduces it substantially but does not zero it out. For maximum protection, combine with distance (arm’s length) and reduced brightness.
Related Resources
- Good Sleep, Good Learning, Good Life Dr. Piotr Wozniak’s comprehensive synthesis on why circadian rhythm protection is the foundation of intellectual performance
- f.lux Official Website
- f.lux macOS Quick Start
- f.lux Research & FAQ
- f.lux Forum
Why This Tool Rocks
- Completely free no ads, no upsells, no account required
- Cross-platform works on every major OS
- Set-and-forget runs silently in the background once configured
- Scientifically grounded addresses the actual spectral mechanism (melanopsin / blue-cyan light) that disrupts circadian rhythm
- Tangible benefit most users report falling asleep easier within days of installation
- Pioneering f.lux predated Apple’s Night Shift, Android’s Night Mode, and Windows Night Light by years; the entire industry eventually copied its core insight
Crepi il lupo! 🐺