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.
noClaps
Replying to @cleon

Just curious, what were the colors and their correct and incorrect conversions? I have color conversion tool and it would be helpful to test it with something like this

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.

cleon
Replying to @noclaps

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