Re:ColorBox by Lyft Design
by stephencoyner on Friday September 20, 2019 @01:37PM
(#21029247)
Accessibility of text over the generated colors would be a great addition to this. It can be cool to have colors generated, but with UI, more than likely you will have to place text over the top and you need to ensure that everyone can read without troubles.
[ Parent
| on HN ]
That was actually one of the goals with this system.
From https://design.lyft.com/re-approaching-color-9e604ba22c88
"Using our algorithm, we made our color lightness-to-darkness consistent across color hues, so that every color 0–50 is accessible (4.5:1) on black, and every color 60–100 is accessible (4.5:1) on white."
Re:ColorBox by Lyft Design
by stephencoyner on Friday September 20, 2019 @10:00PM
(#21033010)
Very cool! I didn't see this at first, but glad to see it's there. Awesome work