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.
Thread
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
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.
Nope, I'm back to #f1f3f6. My tool is good :D I didn't make it, so credits to colorjs.io for being good
![](https://res.cloudinary.com/read-cv/image/upload/c_limit,h_196,w_430/dpr_1.0/v1/1/users/SwMxcELvadeO781wmfapg4U9Duy2/post-ef874b1d-6371-41d3-b720-89c9d2f6577c.png?_a=DATAdtfiZAA0)