seanwilson 17 hours ago

It's a common UI/web design trick now to brand your color palette more by mixing in a little of your primary color into your "gray" swatch. Gray gets used a lot so this has a subtle but noticeable difference. Tailwind has a few gray swatches you can pick from (https://tailwindcss.com/docs/customizing-colors) where "neutral" is all gray if that's what matches your brand.

I have a tool for creating Tailwind color palettes you might find interesting here (https://inclusivecolors.com) where you can visualize how the hue of Tailwind's "gray" shifts a little to the left and the saturation goes from high to low as the gray gets lighter (you'll need to load the palette first via "Import" then "Tailwind"), and customise it if you want.

brudgers a day ago
  • authorfly 14 hours ago

    I read this and applied it when it was first on HN.

    Must have explained it to 3-4 junior engineers/interns, but could never quite find a link back to it.

    Thank you!

    • brudgers 5 hours ago

      I read back then too. That it immediately popped to mind from the comment, is an indictment of its impact on my understanding of color.

  • ugur2nd 6 hours ago

    Ok. Understand. Thank you.