Community이미지github.com

팔레트

사진이나 무드보드에서 색상 팔레트를 추출하고, OKLCH 기반 틴트/셰이드(50–950) 또는 하모니를 생성하며, WCAG 대비를 확인하고, CSS 변수, Tailwind, 디자인 토큰, Adobe ASE, GIMP/Krita GPL 또는 견본 시트로 내보냅니다. 사용자가 색상 팔레트, 컬러 스케일, '어울리는 색', 대비 또는 접근성 확인, 디자인 도구용 견본을 원할 때 사용하세요.

팔레트란 무엇인가요?

이 스킬은 터미널에서 실행되는 `palette` 스크립트를 기반으로 하며, 색상 추출, 조화 생성, 대비 검사 및 다양한 포맷 내보내기를 지원합니다. 사용자는 사진에서 지배적인 색상을 추출하거나, 브랜드 색상으로 균일한 틴트/셰이드 스케일(50–950)을 생성하고, 보색/유사/삼각/분할/사각 하모니를 만들 수 있습니다. WCAG AA 기준(본문 4.5:1, 큰 텍스트 3:1)을 충족하는 색상 쌍을 식별하여 접근성 검사를 자동화합니다. 내보내기 기능은 CSS 변수, SCSS, Tailwind v4 @theme, Design Tokens JSON, Adobe ASE(Illustrator/InDesign/Photoshop), GIMP/Krita GPL, SVG 및 PNG 견본 시트를 지원하여 다양한 디자인 도구와의 호환성을 보장합니다. 사람의 역할은 디자인 판단에 있습니다. 추출된 팔레트를 검토하고, 각 색상에 적절한 역할(배경/잉크/강조)을 할당하며, 대비가 충분하지 않을 경우 조정하고, 최종 팔레트를 사용자의 작업 흐름에 맞는 포맷으로 내보냅니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Remicht0/graphic-design-skills/tree/HEAD/skills/palette

Installed? Explore more 이미지 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

팔레트은(는) 무엇을 하나요?

scripts/palette.py가 색상 수학(OKLab/OKLCH, WCAG 대비, k-means 추출)을 처리하고 디자인 도구용 파일을 작성합니다. 당신의 역할은 그 위에 디자인 판단을 내리는 것입니다: 어떤 색상이 어떤 역할을 할지, 팔레트가 실제로 텍스트에 적합한지, 그리고 선택 이유를 평범한 말로 설명하는 것입니다.

명령어

# 1. 이미지에서: 지배적인 색상과 이미지 내 비율 + 견본 시트
python3 scripts/palette.py extract photo.jpg -n 6 -o palette.json --sheet palette.png

# 2. 접근성: 텍스트에 사용 가능한 색상 쌍
python3 scripts/palette.py contrast palette.json
python3 scripts/palette.py contrast "#111111,#F2EFE9,#FF4F12"

# 3. 브랜드 색상 하나로 전체 스케일 (50 … 950), 지각적으로 균일
python3 scripts/palette.py scale "#2D4CB4" --name cobalt --keep -o cobalt.json

# 4. 하모니: 보색 | 유사 | 삼각 | 분할 | 사각
python3 scripts/palette.py harmony "#FF4F12" --type split

# 5. 내보내기: css | scss | tailwind | tokens | json | ase | gpl | svg | png
python3 scripts/palette.py export palette.json --to ase -o palette.ase
python3 scripts/palette.py export palette.json --to tailwind

팔레트는 스크립트가 작성하는 JSON 파일이거나, 간단히 쉼표로 구분된 16진수 목록일 수 있습니다. JSON을 직접 편집(색상 이름 변경, 하나 삭제)하여 contrast나 export에 다시 전달할 수 있습니다.

작업 방법

  1. 사용자가 가진 원본에서 시작하세요: 사진, 무드보드, 로고, 기존 브랜드 색상, 또는 단어로 표현된 분위기. 단어만 있는 경우 직접 4–6개의 16진수 값을 제안한 후, 반드시 contrast를 실행하세요. 확인하지 않은 팔레트는 절대 제시하지 마세요.
  2. 모든 색상에 역할을 부여하세요. 사용 가능한 팔레트는 6개의 동등한 색상이 아닙니다. 역할을 이름 붙이세요: 배경(종이), 잉크(텍스트), 강조(페이지당 한두 번 사용), 그리고 중립 보조 색상. 대략 60% 배경, 30% 잉크 및 중립, 10% 강조. extract는 배경/잉크/강조를 자동으로 추측합니다; 잘못된 경우 수정하세요(큰 사진 영역을 '배경'으로 선택하는 경우가 많습니다).
  3. 전달 전에 대비를 확인하세요. 본문 텍스트는 4.5:1(WCAG AA)이 필요합니다. 큰 텍스트(≥ 24px, 또는 ≥ 18.5px 굵게)는 3:1이 필요합니다. 로고와 순수 장식은 면제됩니다. 잉크와 배경의 대비가 부족하면, 쌍을 버리지 말고 잉크를 어둡게 하거나 종이를 밝게 하세요. 텍스트에 안전한 쌍이 무엇인지 명확히 말하세요.
  4. 스케일(scale)은 틴트가 필요한 UI 및 브랜드 시스템용입니다. --keep은 정확한 브랜드 색상을 가장 가까운 단계에 유지하고 해당 단계를 보고합니다("당신의 파란색은 cobalt-700입니다"). 채도(Chroma)는 밝은 쪽과 어두운 쪽 끝에서 점차 줄어들어 틴트가 네온처럼 보이거나 셰이드가 탁하게 보이지 않도록 합니다.
  5. 사용자의 도구가 읽는 형식으로 내보내세요:
    도구형식
    Illustrator, InDesign, Photoshop, Affinity, Procreate (가져오기)ase
    Figmatokens (Tokens Studio 플러그인 사용) 또는 16진수 붙여넣기
    웹css, scss, tailwind (v4 @theme)
    GIMP, Krita, Inkscapegpl
    공유용 시각 자료png (견본 시트) 또는 svg

판단에 관한 참고 사항

  • 사진은 그대로 좋은 팔레트가 되는 경우가 드뭅니다: k-means 결과는 면적을 반영할 뿐 중요도를 반영하지 않습니다. 작은 빨간 물체가 큰 회색 벽보다 더 중요할 수 있습니다. 이미지를 직접 보고 이미지의 정체성을 나타내는 색상으로 교체하세요.
  • 순수 흰색과 검정색(#FFF, #000) 대신 약간 벗어난 흰색과 검정색(#F2EFE9, #151515)이 더 디자인된 느낌을 주며, 거의 동일한 대비 비율을 유지합니다.
  • 같은 명도의 두 채도 높은 색상이 닿으면 떨림(진동)이 발생합니다. 표 출력에서 OKLCH 명도(L)를 확인하세요: 두 강조색의 L 값이 거의 같으면 분리하거나 하나를 변경하세요.
  • 인쇄의 경우 이 값들은 RGB입니다. 사용자에게 레이아웃 소프트웨어에서 프린터 프로파일을 사용하여 CMYK 또는 Pantone으로 변환하라고 알려주세요. 화면-인쇄 간 색상 변화는 정상이며, 특히 밝은 녹색, 파란색, 주황색에서 두드러집니다.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

art-direction-analyzer

Break down the art direction of a live website — typography, color palette, grid and spacing, motion and interactions, imagery — by inspecting the rendered page (computed styles, screenshots, hover states), and save a structured reference file with screenshots for a design inspiration library. Use whenever the user wants to study, deconstruct, scrape or reverse-engineer a site's design, visual identity, UI or motion, save a site as a reference or moodboard entry, or asks "how did they do this" about a website — even without the word "analysis".

dither

Turn photos and images into dithered, halftoned or bitmap graphics (Floyd–Steinberg, Atkinson, Bayer, halftone dots, duotone, risograph-style color) as PNG or SVG, sized for screen or print. Use when the user wants a dithered, 1-bit, pixel, halftone, newspaper, risograph, screen-print or "old Mac" look, a bitmap/trame effect, or an image prepared for laser engraving or a plotter.

editorial-layout

Design editorial, magazine-style PDF layouts in HTML/CSS — briefs, reports, portfolios, zines, presentations, posters, Instagram carousels — on a 12-column print grid with extreme type scale, one accent color, bleeding images and varied compositions, then render to a print-ready PDF (with bleed) plus PNG previews and automatic layout checks. Use whenever the user wants a document, PDF, deck, booklet or boards that look designed rather than templated, or asks for a magazine, editorial or Swiss-style layout.

print-preflight

Check a PDF before it goes to the printer — bleed, trim size, image resolution at placed size, embedded fonts, RGB vs CMYK vs spot colors, total ink coverage, hairlines, transparency, layers and annotations — and explain each problem with the fix for InDesign, Illustrator, Affinity, Canva or Figma. Use whenever the user is about to print something (flyer, poster, business card, book, zine, packaging) or asks "is my file OK for print", "why did the printer reject my file", or wants a PDF checked.

관련 스킬