Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. i've been working on moving away from Tailwind, and one thing I'm realizing I appreciated about Tailwind is having a basic color palette (blues, grays, greens, indigos, pinks, purples, reds, yellows) I could use while prototyping

i've been working on moving away from Tailwind, and one thing I'm realizing I appreciated about Tailwind is having a basic color palette (blues, grays, greens, indigos, pinks, purples, reds, yellows) I could use while prototyping

Scheduled Pinned Locked Moved Uncategorized
39 Posts 26 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • b0rk@social.jvns.caB b0rk@social.jvns.ca

    i've been working on moving away from Tailwind, and one thing I'm realizing I appreciated about Tailwind is having a basic color palette (blues, grays, greens, indigos, pinks, purples, reds, yellows) I could use while prototyping

    i extracted it into css variables so I can still use it if I want:

    Link Preview Image
    colors.css

    GitHub Gist: instantly share code, notes, and snippets.

    favicon

    Gist (gist.github.com)

    but now I'm curious: are there similar CSS color palettes like this out there?

    sarajw@front-end.socialS This user is from outside of this forum
    sarajw@front-end.socialS This user is from outside of this forum
    sarajw@front-end.social
    wrote last edited by
    #9

    @b0rk I know not everyone loves CSS but for such as this I'd recommend using either color-mix() or relative colors to make your own 🙂

    Here's an example with hsl() and relative colors - though I would prefer to use oklch() color space, this is made to match what our designer has access to and has set up in Figma.

    sarajw@front-end.socialS b0rk@social.jvns.caB dominik@nona.socialD 3 Replies Last reply
    0
    • gastonrampersad@mastodon.socialG gastonrampersad@mastodon.social

      @b0rk uchū comes to mind. https://uchu.style

      sarajw@front-end.socialS This user is from outside of this forum
      sarajw@front-end.socialS This user is from outside of this forum
      sarajw@front-end.social
      wrote last edited by
      #10

      @gastonrampersad Oooh those are nice. Using oklch() too 🙂

      @b0rk

      1 Reply Last reply
      0
      • b0rk@social.jvns.caB b0rk@social.jvns.ca

        i've been working on moving away from Tailwind, and one thing I'm realizing I appreciated about Tailwind is having a basic color palette (blues, grays, greens, indigos, pinks, purples, reds, yellows) I could use while prototyping

        i extracted it into css variables so I can still use it if I want:

        Link Preview Image
        colors.css

        GitHub Gist: instantly share code, notes, and snippets.

        favicon

        Gist (gist.github.com)

        but now I'm curious: are there similar CSS color palettes like this out there?

        watters@hachyderm.ioW This user is from outside of this forum
        watters@hachyderm.ioW This user is from outside of this forum
        watters@hachyderm.io
        wrote last edited by
        #11

        @b0rk The USWDS has a large palette of colors along with guidance about how to combine them in a way that is accessible: https://designsystem.digital.gov/design-tokens/color/system-tokens/

        b0rk@social.jvns.caB 1 Reply Last reply
        0
        • sarajw@front-end.socialS sarajw@front-end.social

          @b0rk I know not everyone loves CSS but for such as this I'd recommend using either color-mix() or relative colors to make your own 🙂

          Here's an example with hsl() and relative colors - though I would prefer to use oklch() color space, this is made to match what our designer has access to and has set up in Figma.

          sarajw@front-end.socialS This user is from outside of this forum
          sarajw@front-end.socialS This user is from outside of this forum
          sarajw@front-end.social
          wrote last edited by
          #12

          @b0rk I do recognise though that nice looking palettes don't always have exactly the same hues or saturations all the way down the scale - you can use math within calc() when using relative colors though which is fun (for the likes of me):

          Link Preview Image
          Using relative colors - CSS | MDN

          The CSS colors module defines relative color syntax, which allows a CSS value to be defined relative to another color. This is a powerful feature that enables the programmatic creation of complements to existing colors — such as lighter, darker, saturated, semi-transparent, or inverted variants — enabling more effective color palette creation.

          favicon

          MDN Web Docs (developer.mozilla.org)

          1 Reply Last reply
          0
          • b0rk@social.jvns.caB b0rk@social.jvns.ca

            i've been working on moving away from Tailwind, and one thing I'm realizing I appreciated about Tailwind is having a basic color palette (blues, grays, greens, indigos, pinks, purples, reds, yellows) I could use while prototyping

            i extracted it into css variables so I can still use it if I want:

            Link Preview Image
            colors.css

            GitHub Gist: instantly share code, notes, and snippets.

            favicon

            Gist (gist.github.com)

            but now I'm curious: are there similar CSS color palettes like this out there?

            shnizmuffin@toots.inbutts.lolS This user is from outside of this forum
            shnizmuffin@toots.inbutts.lolS This user is from outside of this forum
            shnizmuffin@toots.inbutts.lol
            wrote last edited by
            #13

            @b0rk there are a ton of tools that will help you generate your own. I use [tints.dev](https://www.tints.dev/palette/v1:YmFkYXNzfEJhZGE1NXwyMDB8cHwwfDB8MHwxMDB8YQ) to tack colors on to the default Tailwind palette when I need to.

            Usually, I'm replacing a standard color with a client's and need the shades they didn't bother putting into their brand style guide.

            Also, I hope you didn't work too hard getting those colors out of TW, since v4 just sort of lists them in the docs: https://tailwindcss.com/docs/colors#default-color-palette-reference

            b0rk@social.jvns.caB 1 Reply Last reply
            0
            • b0rk@social.jvns.caB b0rk@social.jvns.ca

              i've been working on moving away from Tailwind, and one thing I'm realizing I appreciated about Tailwind is having a basic color palette (blues, grays, greens, indigos, pinks, purples, reds, yellows) I could use while prototyping

              i extracted it into css variables so I can still use it if I want:

              Link Preview Image
              colors.css

              GitHub Gist: instantly share code, notes, and snippets.

              favicon

              Gist (gist.github.com)

              but now I'm curious: are there similar CSS color palettes like this out there?

              pjg1@mastodon.socialP This user is from outside of this forum
              pjg1@mastodon.socialP This user is from outside of this forum
              pjg1@mastodon.social
              wrote last edited by
              #14

              @b0rk Flexoki is one that comes to mind - https://stephango.com/flexoki

              b0rk@social.jvns.caB 1 Reply Last reply
              0
              • sarajw@front-end.socialS sarajw@front-end.social

                @b0rk I know not everyone loves CSS but for such as this I'd recommend using either color-mix() or relative colors to make your own 🙂

                Here's an example with hsl() and relative colors - though I would prefer to use oklch() color space, this is made to match what our designer has access to and has set up in Figma.

                b0rk@social.jvns.caB This user is from outside of this forum
                b0rk@social.jvns.caB This user is from outside of this forum
                b0rk@social.jvns.ca
                wrote last edited by
                #15

                @sarajw whoa, I didn't realize you could do that now!

                ikesau@micro.ikesau.coI 1 Reply Last reply
                0
                • 200ok@mastodon.social2 200ok@mastodon.social

                  @b0rk it feels like a riff on the Material palette https://m2.material.io/design/color/the-color-system.html#tools-for-picking-colors

                  200ok@mastodon.social2 This user is from outside of this forum
                  200ok@mastodon.social2 This user is from outside of this forum
                  200ok@mastodon.social
                  wrote last edited by
                  #16

                  @b0rk ...which is really to say it's an algorithmic monochromatic palette https://www.colorhexa.com/E97339

                  1 Reply Last reply
                  0
                  • shnizmuffin@toots.inbutts.lolS shnizmuffin@toots.inbutts.lol

                    @b0rk there are a ton of tools that will help you generate your own. I use [tints.dev](https://www.tints.dev/palette/v1:YmFkYXNzfEJhZGE1NXwyMDB8cHwwfDB8MHwxMDB8YQ) to tack colors on to the default Tailwind palette when I need to.

                    Usually, I'm replacing a standard color with a client's and need the shades they didn't bother putting into their brand style guide.

                    Also, I hope you didn't work too hard getting those colors out of TW, since v4 just sort of lists them in the docs: https://tailwindcss.com/docs/colors#default-color-palette-reference

                    b0rk@social.jvns.caB This user is from outside of this forum
                    b0rk@social.jvns.caB This user is from outside of this forum
                    b0rk@social.jvns.ca
                    wrote last edited by
                    #17

                    @shnizmuffin nice! i wanted the exact colors from the tailwind 2.2.7 stylesheet I was using anyway and it only took a few minutes

                    1 Reply Last reply
                    0
                    • pjg1@mastodon.socialP pjg1@mastodon.social

                      @b0rk Flexoki is one that comes to mind - https://stephango.com/flexoki

                      b0rk@social.jvns.caB This user is from outside of this forum
                      b0rk@social.jvns.caB This user is from outside of this forum
                      b0rk@social.jvns.ca
                      wrote last edited by
                      #18

                      @pjg1 thanks!

                      1 Reply Last reply
                      0
                      • b0rk@social.jvns.caB b0rk@social.jvns.ca

                        i've been working on moving away from Tailwind, and one thing I'm realizing I appreciated about Tailwind is having a basic color palette (blues, grays, greens, indigos, pinks, purples, reds, yellows) I could use while prototyping

                        i extracted it into css variables so I can still use it if I want:

                        Link Preview Image
                        colors.css

                        GitHub Gist: instantly share code, notes, and snippets.

                        favicon

                        Gist (gist.github.com)

                        but now I'm curious: are there similar CSS color palettes like this out there?

                        eeentropyyy@hachyderm.ioE This user is from outside of this forum
                        eeentropyyy@hachyderm.ioE This user is from outside of this forum
                        eeentropyyy@hachyderm.io
                        wrote last edited by
                        #19

                        @b0rk I used https://harmonizer.evilmartians.com to create my own and it has some built in contrast checking too which I like.

                        1 Reply Last reply
                        0
                        • sarajw@front-end.socialS sarajw@front-end.social

                          @b0rk I know not everyone loves CSS but for such as this I'd recommend using either color-mix() or relative colors to make your own 🙂

                          Here's an example with hsl() and relative colors - though I would prefer to use oklch() color space, this is made to match what our designer has access to and has set up in Figma.

                          dominik@nona.socialD This user is from outside of this forum
                          dominik@nona.socialD This user is from outside of this forum
                          dominik@nona.social
                          wrote last edited by
                          #20

                          @sarajw @b0rk oooh! TIL, I like this a lot! Thanks!

                          1 Reply Last reply
                          0
                          • b0rk@social.jvns.caB b0rk@social.jvns.ca

                            i've been working on moving away from Tailwind, and one thing I'm realizing I appreciated about Tailwind is having a basic color palette (blues, grays, greens, indigos, pinks, purples, reds, yellows) I could use while prototyping

                            i extracted it into css variables so I can still use it if I want:

                            Link Preview Image
                            colors.css

                            GitHub Gist: instantly share code, notes, and snippets.

                            favicon

                            Gist (gist.github.com)

                            but now I'm curious: are there similar CSS color palettes like this out there?

                            loupbrun@mastodon.quebecL This user is from outside of this forum
                            loupbrun@mastodon.quebecL This user is from outside of this forum
                            loupbrun@mastodon.quebec
                            wrote last edited by
                            #21

                            @b0rk I would use a tailwind palette generator like https://github.com/fullsolid/tailwindshades (installable offline!), extract the config for each color palette, and make a CSS variable list out of it.

                            1 Reply Last reply
                            0
                            • watters@hachyderm.ioW watters@hachyderm.io

                              @b0rk The USWDS has a large palette of colors along with guidance about how to combine them in a way that is accessible: https://designsystem.digital.gov/design-tokens/color/system-tokens/

                              b0rk@social.jvns.caB This user is from outside of this forum
                              b0rk@social.jvns.caB This user is from outside of this forum
                              b0rk@social.jvns.ca
                              wrote last edited by
                              #22

                              @watters thanks, this is great

                              1 Reply Last reply
                              0
                              • b0rk@social.jvns.caB b0rk@social.jvns.ca

                                i've been working on moving away from Tailwind, and one thing I'm realizing I appreciated about Tailwind is having a basic color palette (blues, grays, greens, indigos, pinks, purples, reds, yellows) I could use while prototyping

                                i extracted it into css variables so I can still use it if I want:

                                Link Preview Image
                                colors.css

                                GitHub Gist: instantly share code, notes, and snippets.

                                favicon

                                Gist (gist.github.com)

                                but now I'm curious: are there similar CSS color palettes like this out there?

                                trey@indieweb.socialT This user is from outside of this forum
                                trey@indieweb.socialT This user is from outside of this forum
                                trey@indieweb.social
                                wrote last edited by
                                #23

                                @b0rk https://open-props.style/#colors is pretty cool

                                trey@indieweb.socialT 1 Reply Last reply
                                0
                                • b0rk@social.jvns.caB b0rk@social.jvns.ca

                                  i've been working on moving away from Tailwind, and one thing I'm realizing I appreciated about Tailwind is having a basic color palette (blues, grays, greens, indigos, pinks, purples, reds, yellows) I could use while prototyping

                                  i extracted it into css variables so I can still use it if I want:

                                  Link Preview Image
                                  colors.css

                                  GitHub Gist: instantly share code, notes, and snippets.

                                  favicon

                                  Gist (gist.github.com)

                                  but now I'm curious: are there similar CSS color palettes like this out there?

                                  zygous@toot.communityZ This user is from outside of this forum
                                  zygous@toot.communityZ This user is from outside of this forum
                                  zygous@toot.community
                                  wrote last edited by
                                  #24

                                  @b0rk I see others have already mentioned calc(), but I enjoyed this recent blog post by @cferdinandi: https://gomakethings.com/generative-colors-with-css/

                                  1 Reply Last reply
                                  0
                                  • b0rk@social.jvns.caB b0rk@social.jvns.ca

                                    @sarajw whoa, I didn't realize you could do that now!

                                    ikesau@micro.ikesau.coI This user is from outside of this forum
                                    ikesau@micro.ikesau.coI This user is from outside of this forum
                                    ikesau@micro.ikesau.co
                                    wrote last edited by
                                    #25

                                    @b0rk @sarajw and if you don't mind a slightly hard-to-reason-about colour space, using oklab or oklch will get you even nicer derivatives 🙂

                                    sarajw@front-end.socialS 1 Reply Last reply
                                    0
                                    • b0rk@social.jvns.caB b0rk@social.jvns.ca

                                      i've been working on moving away from Tailwind, and one thing I'm realizing I appreciated about Tailwind is having a basic color palette (blues, grays, greens, indigos, pinks, purples, reds, yellows) I could use while prototyping

                                      i extracted it into css variables so I can still use it if I want:

                                      Link Preview Image
                                      colors.css

                                      GitHub Gist: instantly share code, notes, and snippets.

                                      favicon

                                      Gist (gist.github.com)

                                      but now I'm curious: are there similar CSS color palettes like this out there?

                                      nihilistic_capybara@layer8.spaceN This user is from outside of this forum
                                      nihilistic_capybara@layer8.spaceN This user is from outside of this forum
                                      nihilistic_capybara@layer8.space
                                      wrote last edited by
                                      #26

                                      @b0rk if you find out please le me know too.

                                      Boosting for visibility

                                      1 Reply Last reply
                                      0
                                      • b0rk@social.jvns.caB b0rk@social.jvns.ca

                                        i've been working on moving away from Tailwind, and one thing I'm realizing I appreciated about Tailwind is having a basic color palette (blues, grays, greens, indigos, pinks, purples, reds, yellows) I could use while prototyping

                                        i extracted it into css variables so I can still use it if I want:

                                        Link Preview Image
                                        colors.css

                                        GitHub Gist: instantly share code, notes, and snippets.

                                        favicon

                                        Gist (gist.github.com)

                                        but now I'm curious: are there similar CSS color palettes like this out there?

                                        marien@tutut.delire.partyM This user is from outside of this forum
                                        marien@tutut.delire.partyM This user is from outside of this forum
                                        marien@tutut.delire.party
                                        wrote last edited by
                                        #27

                                        @b0rk I use Radix UI colors a lot, it makes creating light/dark modes very easy https://www.radix-ui.com/colors/docs/palette-composition/scales

                                        1 Reply Last reply
                                        0
                                        • ikesau@micro.ikesau.coI ikesau@micro.ikesau.co

                                          @b0rk @sarajw and if you don't mind a slightly hard-to-reason-about colour space, using oklab or oklch will get you even nicer derivatives 🙂

                                          sarajw@front-end.socialS This user is from outside of this forum
                                          sarajw@front-end.socialS This user is from outside of this forum
                                          sarajw@front-end.social
                                          wrote last edited by
                                          #28

                                          @ikesau agreed!

                                          @b0rk yes it's very cool what you can do now - CSS is ever more powerful, I don't like using tailwind because I find it limiting.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups