https://github.com/anselmoo/dracula-palette

πŸ§›πŸ»β€β™‚οΈ Advanced Color Harmony Generator - Transform any color into comprehensive Dracula-themed palettes

https://github.com/anselmoo/dracula-palette

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • β—‹
    CITATION.cff file
  • βœ“
    codemeta.json file
    Found codemeta.json file
  • βœ“
    .zenodo.json file
    Found .zenodo.json file
  • β—‹
    DOI references
  • β—‹
    Academic publication links
  • β—‹
    Committers with academic emails
  • β—‹
    Institutional organization owner
  • β—‹
    JOSS paper metadata
  • β—‹
    Scientific vocabulary similarity
    Low similarity (9.0%) to scientific vocabulary

Keywords

color color-palette dracula dracula-color-scheme hsluv material-design oklch typescript vue

Keywords from Contributors

documents spectroscopy
Last synced: 6 months ago · JSON representation

Repository

πŸ§›πŸ»β€β™‚οΈ Advanced Color Harmony Generator - Transform any color into comprehensive Dracula-themed palettes

Basic Info
Statistics
  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • Open Issues: 3
  • Releases: 5
Topics
color color-palette dracula dracula-color-scheme hsluv material-design oklch typescript vue
Created 8 months ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License

README.md

Dracula Palette

πŸ§›πŸ»β€β™‚οΈ Advanced Color Harmony Generator - Transform any color into comprehensive Dracula-themed palettes using 10 modern color science standards.

Dracula Color Decomposition

✨ Features

🎯 Core Features (βœ… Live)

  • 🎨 Color Harmony Generation: Transform any CSS color (hex, rgb, hsl, color names) into comprehensive Dracula-themed color harmonies
  • 🌈 Advanced Palette System: Generate extensive color palettes using 10 different color science standards
  • 🎯 Intelligent Color Matching: Find the 5 closest Dracula colors with precise similarity percentages
  • πŸ“Š Professional Color Standards: Support for Material Design 3, HSLuv, OKLCH, HCL, CAM16-UCS, IPT, Color Harmony, CIE LAB, HPLuv, and Cubehelix
  • β™Ώ Accessibility Engineering: Built-in WCAG compliance with automated "Make Accessible" color harmonies
  • πŸ“ Professional Export: Export individual colors (multiple formats) and complete palettes (CSS, SCSS, JSON)
  • πŸ“± Responsive Design: Optimized experience across desktop and mobile devices
  • ⚑ Modern Architecture: Built with Vue 3, TypeScript, and Vite for peak performance

🚧 Coming Soon

  • TailwindCSS & Figma Export: Additional export formats (code ready, UI integration pending)
  • Batch Processing: Upload and process multiple colors simultaneously
  • Advanced Color Harmonies: Split-complementary, tetradic, and complex color schemes
  • Color Vision Simulation: Preview palettes for different types of color blindness

πŸš€ Quick Start

  1. Visit the app: https://anselmoo.github.io/dracula-palette/
  2. Enter any color in the input field (try #ff0000, rgb(255,0,0), or red)
  3. See suggestions - The app will show the 5 closest Dracula colors
  4. Generate palettes - Use the palette generator to create extended color schemes
  5. Export - Download your palettes in various formats (CSS, SCSS, JSON)

🎯 Usage Guide

Basic Color Harmony Matching

  1. Enter any color in the input field (try #ff0000, rgb(255,0,0), or red)
  2. Discover harmonies - The app will show the 5 closest Dracula colors with similarity scores
  3. Click suggestions to highlight them in the palette
  4. Export individual colors - Click the export button on any color for HEX, RGB, HSL, OKLCH, LAB, etc.

Advanced Palette Generation

  1. Select a Dracula color from the main palette
  2. Choose color standards using quick category buttons:
    • Popular: Material Design 3, HSLuv, OKLCH
    • Scientific: HCL, CAM16-UCS, IPT, Cubehelix
    • Web: CIE LAB curves
    • Artistic: Color Harmony, HPLuv
    • All: All 10 standards
  3. Generate extended palette - Get 8-12 systematically created variants per standard
  4. Check accessibility - Use "Make Accessible" for WCAG-compliant variants
  5. Export your palette - Download in CSS, SCSS, or JSON format

The Dracula Advantage

Traditional color pickers give you one color. The Dracula theme gives you 10 carefully curated colors. But complex designs need hundreds of colors that work together.

This solves the original Dracula bottleneck by providing hundreds of systematically generated colors that maintain the Dracula aesthetic while offering the variety needed for complex designs.

🎨 Color Science

Support for 10 modern color standards organized by use case:

🌟 Popular Standards

πŸ”¬ Scientific Standards

🌐 Web Standards

🎨 Artistic Standards

Key Features

  • Perceptually Uniform Calculations with OKLCH-based similarity scoring
  • WCAG Accessibility Compliance with "Make Accessible" button for contrast ratios
  • Multiple Export Formats: Individual colors (HEX, RGB, HSL, OKLCH, LAB) and palettes (CSS, SCSS, JSON)

πŸ§›β€β™‚οΈ Dracula Theme Colors

Dracula Color Palette

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details on:

  • Development setup and workflow
  • Code standards and testing
  • Adding new color science algorithms
  • Submitting bug reports and feature requests

πŸš€ Release & Deployment

Automated Releases

This project uses automated releases with semantic versioning:

```bash

Create a new release (patch version)

./scripts/release.sh patch

Create a minor version release

./scripts/release.sh minor

Create a major version release

./scripts/release.sh major ```

Available Packages

  • npm (stable): @anselmoo/dracula-palette@latest
  • npm (dev): @anselmoo/dracula-palette@dev
  • Docker (stable): ghcr.io/anselmoo/dracula-palette:latest
  • Docker (dev): ghcr.io/anselmoo/dracula-palette:dev
  • GitHub Pages: https://anselmoo.github.io/dracula-palette/

Security Features

  • Container Signing: All Docker images are signed with Cosign using GitHub's OIDC Token for enhanced security and supply chain transparency
  • Keyless Signing: No private keys required - uses GitHub's OIDC identity for tamper-proof image signatures
  • Token-Based Authentication: Docker publishing uses only GITHUB_TOKEN (no personal access tokens required)

Release Channels

  1. Development Builds (main branch): Overwritten dev tags for testing

    • npm: @anselmoo/dracula-palette@dev (always latest main)
    • Docker: ghcr.io/anselmoo/dracula-palette:dev (always latest main)
  2. Semantic Releases (Git tags): Traditional semver (v1.2.3)

    • npm: @anselmoo/dracula-palette@latest (stable releases)
    • Docker: ghcr.io/anselmoo/dracula-palette:latest (stable releases)

See scripts/README.md for detailed release documentation.

🌟 Inspiration

This project is inspired by:

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Dracula Theme community
  • PKief for the Material Color Converter inspiration
  • BjΓΆrn Ottosson for OKLCH color space research
  • Vue.js and Vite teams for excellent developer tools

πŸ”— Links

Owner

  • Name: Anselm Hahn
  • Login: Anselmoo
  • Kind: user
  • Location: Switzerland

GitHub Events

Total
  • Create event: 53
  • Release event: 5
  • Issues event: 3
  • Delete event: 45
  • Issue comment event: 55
  • Push event: 102
  • Pull request event: 87
Last Year
  • Create event: 53
  • Release event: 5
  • Issues event: 3
  • Delete event: 45
  • Issue comment event: 55
  • Push event: 102
  • Pull request event: 87

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 35
  • Total Committers: 3
  • Avg Commits per committer: 11.667
  • Development Distribution Score (DDS): 0.486
Past Year
  • Commits: 35
  • Committers: 3
  • Avg Commits per committer: 11.667
  • Development Distribution Score (DDS): 0.486
Top Committers
Name Email Commits
renovate[bot] 2****] 18
Anselm Hahn A****n@g****m 16
Copilot 1****t 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 2
  • Total pull requests: 85
  • Average time to close issues: 35 minutes
  • Average time to close pull requests: 1 day
  • Total issue authors: 2
  • Total pull request authors: 3
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.89
  • Merged pull requests: 64
  • Bot issues: 1
  • Bot pull requests: 71
Past Year
  • Issues: 2
  • Pull requests: 85
  • Average time to close issues: 35 minutes
  • Average time to close pull requests: 1 day
  • Issue authors: 2
  • Pull request authors: 3
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.89
  • Merged pull requests: 64
  • Bot issues: 1
  • Bot pull requests: 71
Top Authors
Issue Authors
  • Anselmoo (1)
  • renovate[bot] (1)
Pull Request Authors
  • renovate[bot] (71)
  • Anselmoo (12)
  • Copilot (2)
Top Labels
Issue Labels
bug (1)
Pull Request Labels
size/XS (65) size/L (4) size/XL (2)

Dependencies

.github/workflows/ci.yml actions
  • actions/checkout v4 composite
  • actions/setup-node v4 composite
  • actions/upload-artifact v4 composite
  • docker/build-push-action v5 composite
  • docker/login-action v3 composite
  • docker/metadata-action v5 composite
  • docker/setup-buildx-action v3 composite
  • peaceiris/actions-gh-pages v3 composite
Dockerfile docker
  • nginx alpine build
  • node 20-alpine build
docker-compose.yml docker
  • node 20-alpine
package-lock.json npm
  • 378 dependencies
package.json npm
  • @tsconfig/node20 ^20.1.2 development
  • @types/chroma-js ^2.4.4 development
  • @types/color ^3.0.6 development
  • @types/node ^20.11.0 development
  • @typescript-eslint/eslint-plugin ^6.21.0 development
  • @typescript-eslint/parser ^6.21.0 development
  • @vitejs/plugin-vue ^5.0.0 development
  • @vue/eslint-config-typescript ^12.0.0 development
  • @vue/tsconfig ^0.5.0 development
  • eslint ^8.56.0 development
  • eslint-plugin-vue ^9.20.0 development
  • gh-pages ^6.3.0 development
  • jsdom ^26.1.0 development
  • npm-run-all2 ^6.1.0 development
  • prettier ^3.6.2 development
  • sass ^1.69.0 development
  • typescript ~5.3.0 development
  • vite ^5.0.0 development
  • vitest ^1.2.0 development
  • vue-tsc ^1.8.0 development
  • chroma-js ^2.4.2
  • color ^4.2.3
  • culori ^4.0.1
  • hsluv ^0.1.0
  • vue ^3.4.0
.github/workflows/release.yml actions
  • actions/checkout v4 composite
  • actions/create-release v1 composite
  • actions/setup-node v4 composite
  • actions/upload-release-asset v1 composite
  • docker/build-push-action v6 composite
  • docker/login-action v3 composite
  • docker/metadata-action v5 composite
  • docker/setup-buildx-action v3 composite
  • sigstore/cosign-installer v3.9.2 composite