All Posts

2026

2025

Frontend

Let’s Write Colors with CSS HSL! (And a Better Way)

In web development, the traditional HEX and RGB color notations are widely used, but they are not very readable or intuitive, and their capabilities are limited in wider color spaces such as P3. HSL (Hue, Saturation, Lightness) provides a more intuitive way to define colors, making it easier for developers to understand and adjust them. By describing colors through the three dimensions of hue, saturation, and lightness, HSL makes color adjustment more human-friendly. In design systems in particular, HSL can better represent lightness variations in a color palette.

Career Retrospect

13. Embracing Uncertainty

Nassim, the author of *The Black Swan Effect*, once proposed a concept: things that seem completely impossible can happen at unexpected moments, and most of the time we cannot predict them, yet they can have an enormous impact. The best example is COVID-19 in 2020. Under the influence of the pandemic, people’s lives and work patterns were completely changed, and many shops shut down or went bankrupt because they could not hold on; it was not until 2023 that things began to improve.