ข้ามไปที่เนื้อหา

นับการเปิดหน้าและการคลิกโปรเจกต์ด้วย PostHog (เซิร์ฟเวอร์ EU) ไหม โหลดเมื่อคุณกดอนุญาตเท่านั้น ความเป็นส่วนตัว

Color Palettes live preview
โปรเจกต์ทั้งหมด

Color Palettes

Grab a named color palette and copy it as CSS variables, Tailwind colors, or JSON.

Carrying a palette from an inspiration site into code meant copying hex values one by one and naming the tokens by hand.

Tech Domain · Book Dev|เผยแพร่แล้ว|หลักฐาน: ต้นแบบ|Next.js, TypeScript

มีต้นแบบสาธารณะเพื่อแสดง interaction โดยจำกัดขอบเขตและข้อมูลไว้อย่างชัดเจน

กรณีศึกษา

ก่อนใช้งาน

Finding cohesive color palettes for new projects meant browsing several palette sites and then retyping the values into code.

หลังใช้งาน

You can browse the six presets and copy any palette into code in one of three token formats.

วิธีแก้ปัญหา

Built a palette shelf, now at /color-palettes in the Devtools Workbench suite, with six hand-picked presets. Click a swatch to copy its HEX value, or export the whole palette as CSS variables, a Tailwind colors block, or JSON.

สิ่งที่ยังไม่แก้

Six static presets with HEX values only. There is no WCAG contrast checking, RGB/HSL output, UI preview, or palette generator.

บทความที่เกี่ยวข้อง

อ่านเพิ่มเติมในหัวข้อที่เกี่ยวข้องจากบล็อก

โปรเจกต์ที่เกี่ยวข้อง

เพิ่มเติมใน Tech Domain · Book Dev