https://github.com/mnthomson/tailwind-closest
Find the closest tailwind color from a hex code
https://github.com/mnthomson/tailwind-closest
tailwind tailwindcss
Last synced: 10 months ago
JSON representation
Find the closest tailwind color from a hex code
- Host: GitHub
- URL: https://github.com/mnthomson/tailwind-closest
- Owner: MNThomson
- Created: 2024-08-02T20:19:59.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-26T01:10:16.000Z (almost 2 years ago)
- Last Synced: 2024-12-27T20:13:42.901Z (over 1 year ago)
- Topics: tailwind, tailwindcss
- Language: HTML
- Homepage: https://tw.mnt.dev
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tailwind Closest
### why?
I was getting annoyed trying to convert hex codes to [Tailwind Colours](https://tailwindcss.com/docs/customizing-colors) (yes, I'm Canadian and that's how it's spelled). So I just did some funky 3D Pythagoras to find the closest Tailwind representation.