Posts, a community app by Read.cv

Thread
cleon

This morning: 1. My app's HEX colours were off. 2. Codebase uses HSL. 3. Suspected a HEX-HSL conversion issue. 4. But most sites were saying our conversions were right. 5. Turns our rounding in HSL matters. Lesson: Use convertacolor.com/ because it preserves decimals.

Convert a Color – HEX, RGB, HSL, CMYK
Convert colors between formats HEX, RGB, HSL and CMYK. Simple, beautiful and fast.
cleon
Replying to @noclaps

Try going from HEX to HSL and then back to HEX, starting with #F1F3F6. Make sure that your HSL rounds off to the nearest integer. You'll end up with #EFF2F5.

noClaps
Replying to @cleon

Nope, I'm back to #f1f3f6. My tool is good :D I didn't make it, so credits to colorjs.io for being good

cleon
Replying to @noclaps

that's awesome, it's because your tool preserves decimals. Most tools don't!