Comment

Comment by ars

I think you are supposed to add the colors then divide by two to keep the brightness constant.

This is not how light behaves (it doesn't divide by two on a wall), but it's what you need to make a gradient.

parent ars 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton