PHPackages                             heyday/silverstripe-colorpalette - 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. heyday/silverstripe-colorpalette

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

heyday/silverstripe-colorpalette
================================

A color palette picker for SilverStripe CMS

4.0.0(8mo ago)23156.0k↓11.2%199MITPHPPHP ^8.3CI passing

Since Jul 14Pushed 7mo ago31 watchersCompare

[ Source](https://github.com/WPP-Public/akqa-nz-silverstripe-colorpalette)[ Packagist](https://packagist.org/packages/heyday/silverstripe-colorpalette)[ RSS](/packages/heyday-silverstripe-colorpalette/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (3)Versions (12)Used By (9)

SilverStripe Color Palette Field
================================

[](#silverstripe-color-palette-field)

Provides a color picker field in SilverStripe allowing a user to select from defined selection of colors (palette)

Installation (with composer)
----------------------------

[](#installation-with-composer)

```
$ composer require heyday/silverstripe-colorpalette

```

Example
-------

[](#example)

[![Color Palette Example](resources/example.png?raw=true)](resources/example.png?raw=true)

Features
--------

[](#features)

- Supports usage in Elemental

Usage
-----

[](#usage)

### Regular palette

[](#regular-palette)

```
$fields->addFieldToTab(
    'Root.Main',
    Heyday\ColorPalette\Fields\ColorPaletteField::create(
        'BackgroundColor',
        'Background Color',
        [
            'White' => '#fff',
            'Black' => '#000'
        ]
    )
);
```

### Grouped Palette

[](#grouped-palette)

```
$fields->addFieldToTab(
    'Root.Main',
    Heyday\ColorPalette\Fields\GroupedColorPaletteField::create(
        'BackgroundColor',
        'Background Color',
        array(
            'Primary Palette' => [
                'White' => '#fff',
                'Black' => '#000'
            ],
            'Secondary Palette' => [
                'Blue' => 'blue',
                'Red' => 'red'
            ]
        )
    )
);
```

License
-------

[](#license)

SilverStripe Color Palette Field is licensed under an [MIT license](http://heyday.mit-license.org/)

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance62

Regular maintenance activity

Popularity44

Moderate usage in the ecosystem

Community34

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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

Every ~444 days

Recently: every ~412 days

Total

11

Last Release

246d ago

Major Versions

1.1.0 → 2.0.02017-11-25

2.1.0 → 3.0.02023-12-21

3.0.1 → 4.0.02025-09-15

PHP version history (2 changes)2.1.0PHP ^7.4 || ^8.0

4.0.0PHP ^8.3

### Community

Maintainers

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

---

Top Contributors

[![camspiers](https://avatars.githubusercontent.com/u/51294?v=4)](https://github.com/camspiers "camspiers (11 commits)")[![wilr](https://avatars.githubusercontent.com/u/101629?v=4)](https://github.com/wilr "wilr (11 commits)")[![MattyBalaam](https://avatars.githubusercontent.com/u/1246923?v=4)](https://github.com/MattyBalaam "MattyBalaam (7 commits)")[![lucasfrey](https://avatars.githubusercontent.com/u/7697132?v=4)](https://github.com/lucasfrey "lucasfrey (6 commits)")[![TheBnl](https://avatars.githubusercontent.com/u/1334195?v=4)](https://github.com/TheBnl "TheBnl (4 commits)")[![wernerkrauss](https://avatars.githubusercontent.com/u/1043925?v=4)](https://github.com/wernerkrauss "wernerkrauss (3 commits)")[![stecman](https://avatars.githubusercontent.com/u/2230769?v=4)](https://github.com/stecman "stecman (3 commits)")[![satrun77](https://avatars.githubusercontent.com/u/166450?v=4)](https://github.com/satrun77 "satrun77 (2 commits)")[![xini](https://avatars.githubusercontent.com/u/1152403?v=4)](https://github.com/xini "xini (1 commits)")[![UndefinedOffset](https://avatars.githubusercontent.com/u/1391558?v=4)](https://github.com/UndefinedOffset "UndefinedOffset (1 commits)")[![spekulatius](https://avatars.githubusercontent.com/u/8433587?v=4)](https://github.com/spekulatius "spekulatius (1 commits)")[![tyrannosaurusjames](https://avatars.githubusercontent.com/u/3037783?v=4)](https://github.com/tyrannosaurusjames "tyrannosaurusjames (1 commits)")

### Embed Badge

![Health badge](/badges/heyday-silverstripe-colorpalette/health.svg)

```
[![Health](https://phpackages.com/badges/heyday-silverstripe-colorpalette/health.svg)](https://phpackages.com/packages/heyday-silverstripe-colorpalette)
```

###  Alternatives

[silverstripe/subsites

Run multiple sites from a single SilverStripe install.

65392.9k20](/packages/silverstripe-subsites)[sheadawson/silverstripe-dependentdropdownfield

A silverstripe dropdown field that has it's options populated via ajax, based on the value of the field it depends on

28232.8k18](/packages/sheadawson-silverstripe-dependentdropdownfield)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46295.2k7](/packages/symbiote-silverstripe-advancedworkflow)[symbiote/silverstripe-grouped-cms-menu

Allows you to group CMS menu items.

3696.2k6](/packages/symbiote-silverstripe-grouped-cms-menu)[silverstripe/taxonomy

Provide extra taxonomy for cataloguing the data.

10481.5k19](/packages/silverstripe-taxonomy)[wedevelopnl/silverstripe-elemental-grid

Elemental grid module

1014.1k2](/packages/wedevelopnl-silverstripe-elemental-grid)

PHPackages © 2026

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