PHPackages                             phpcolor/dracula-colors - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpcolor/dracula-colors

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpcolor/dracula-colors
=======================

Dracula Colors - PHP Color Palette

v0.2.0(5mo ago)00MITPHPPHP &gt;=8.3

Since Jan 29Pushed 5mo agoCompare

[ Source](https://github.com/phpcolor/dracula-colors)[ Packagist](https://packagist.org/packages/phpcolor/dracula-colors)[ Docs](https://phpcolor.dev/)[ RSS](/packages/phpcolor-dracula-colors/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Dracula Colors
==============

[](#dracula-colors)

This package provides access to the Dracula color palette, a dark theme for code editors and terminal applications.

Installation
------------

[](#installation)

```
composer require phpcolor/dracula-colors
```

Usage
-----

[](#usage)

### Create Colors Instance

[](#create-colors-instance)

```
use PhpColor\Colors\Dracula\DraculaColors as Dracula;

$colors = Dracula::colors();
```

### Color Names

[](#color-names)

```
use PhpColor\Colors\Dracula\DraculaColors as Dracula;

$colors = Dracula::colors();

$names = $colors->getNames();
// 'background', 'currentLine', 'foreground', 'comment',
// 'cyan', 'green', 'orange', 'pink', 'purple', 'red', 'yellow'
```

### Color Values

[](#color-values)

```
use PhpColor\Colors\Dracula\DraculaColors as Dracula;

$colors = Dracula::colors();

echo $colors->purple;             // #BD93F9
echo $colors->get('cyan');        // #8BE9FD
```

Credits
-------

[](#credits)

The colors listed in this project are based on the [Dracula Theme](https://draculatheme.com/).

License
-------

[](#license)

This [PHPColor](https://phpcolor.dev) package is released under the [MIT license](LICENSE).

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance73

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

155d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8951d49b371d210280a58ce48969a07d1f49924810f8a1fab3a9343eb46fdc9?d=identicon)[simonandre](/maintainers/simonandre)

---

Top Contributors

[![smnandre](https://avatars.githubusercontent.com/u/1359581?v=4)](https://github.com/smnandre "smnandre (2 commits)")

---

Tags

colordraculapalettephpthemecolorthemepalettedarkdracula

### Embed Badge

![Health badge](/badges/phpcolor-dracula-colors/health.svg)

```
[![Health](https://phpackages.com/badges/phpcolor-dracula-colors/health.svg)](https://phpackages.com/packages/phpcolor-dracula-colors)
```

###  Alternatives

[spatie/color

A little library to handle color conversions

38221.2M36](/packages/spatie-color)[mexitek/phpcolors

A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly.

4993.9M20](/packages/mexitek-phpcolors)[kartik-v/yii2-widget-colorinput

An enhanced Yii 2 widget encapsulating the HTML 5 color input (sub repo split from yii2-widgets)

345.1M11](/packages/kartik-v-yii2-widget-colorinput)[tecnickcom/tc-lib-color

PHP library to manipulate various color representations

247.9M25](/packages/tecnickcom-tc-lib-color)[lukapeharda/tailwindcss-color-palette-generator

Generate TailwindCSS color palette from a single color.

22113.3k1](/packages/lukapeharda-tailwindcss-color-palette-generator)[presseddigital/colorit

A slick color picker fieldtype plugin for the Craft CMS 3 control panel.

2032.5k](/packages/presseddigital-colorit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
