PHPackages                             ryanpotter/silverstripe-color-field - 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. ryanpotter/silverstripe-color-field

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

ryanpotter/silverstripe-color-field
===================================

Silverstripe Color Field

1.0.2(2y ago)1059.3k↓39.6%13[1 PRs](https://github.com/Rhym/silverstripe-color-field/pulls)11BSD-3-ClausePHP

Since Aug 26Pushed 2y ago2 watchersCompare

[ Source](https://github.com/Rhym/silverstripe-color-field)[ Packagist](https://packagist.org/packages/ryanpotter/silverstripe-color-field)[ RSS](/packages/ryanpotter-silverstripe-color-field/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (11)

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

[](#silverstripe-color-field)

[![Latest Stable Version](https://camo.githubusercontent.com/1ae4be749b04f092e8748716a5a21a47476898d6b5982fcd277538fb1b2abbe6/68747470733a2f2f706f7365722e707567782e6f72672f7279616e706f747465722f73696c7665727374726970652d636f6c6f722d6669656c642f762f737461626c65)](https://packagist.org/packages/ryanpotter/silverstripe-color-field)[![Total Downloads](https://camo.githubusercontent.com/643a8dd8d01c916dcb247d2585493c6e0e7126e34030d8f3468799787cdde009/68747470733a2f2f706f7365722e707567782e6f72672f7279616e706f747465722f73696c7665727374726970652d636f6c6f722d6669656c642f646f776e6c6f616473)](https://packagist.org/packages/ryanpotter/silverstripe-color-field)[![Monthly Downloads](https://camo.githubusercontent.com/6773603c4bf10677f3bcfaca1f7b7e2a4f922260a11ead44f62b893ec6821cae/68747470733a2f2f706f7365722e707567782e6f72672f7279616e706f747465722f73696c7665727374726970652d636f6c6f722d6669656c642f642f6d6f6e74686c79)](https://packagist.org/packages/ryanpotter/silverstripe-color-field)

A colour picker field for the Silverstripe CMS.

Uses [Iris Colour Picker](https://github.com/Automattic/Iris).

### Installation

[](#installation)

Installation with composer:

```
composer require ryanpotter/silverstripe-color-field
```

### Usage

[](#usage)

```
use RyanPotter\SilverStripeColorField\Forms\ColorField;
```

```
private static $db = [
    'MyColor' => DBVarchar::class . '(7)',
];
```

```
ColorField::create('MyColor')
```

### Screenshot

[](#screenshot)

[![Screenshot](https://github.com/Rhym/silverstripe-color-field/raw/master/screenshot.png)](https://github.com/Rhym/silverstripe-color-field/blob/master/screenshot.png)

### Configuration

[](#configuration)

Add as many colours as you want to the palettes.

```
RyanPotter\SilverStripeColorField\Forms\ColorField:
  colors:
    - '#1976D2'
    - '#2196F3'
    - '#BBDEFB'
    - '#FFFFFF'
    - '#FF4081'
    - '#212121'
    - '#727272'
    - '#B6B6B6'
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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

Every ~971 days

Total

4

Last Release

1006d ago

Major Versions

0.1.0 → 1.0.02018-10-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/13a1b78f31cdad3eecbe5d11aadc3f5c527f76cde37710ab91dc03c42565f152?d=identicon)[RyanPotter](/maintainers/RyanPotter)

---

Top Contributors

[![Rhym](https://avatars.githubusercontent.com/u/1136811?v=4)](https://github.com/Rhym "Rhym (12 commits)")[![sparkcom](https://avatars.githubusercontent.com/u/4200947?v=4)](https://github.com/sparkcom "sparkcom (5 commits)")[![adrexia](https://avatars.githubusercontent.com/u/984753?v=4)](https://github.com/adrexia "adrexia (1 commits)")[![MattyBalaam](https://avatars.githubusercontent.com/u/1246923?v=4)](https://github.com/MattyBalaam "MattyBalaam (1 commits)")[![nedmas](https://avatars.githubusercontent.com/u/842280?v=4)](https://github.com/nedmas "nedmas (1 commits)")

---

Tags

silverstripesilverstripe-4silverstripe-modulesilverstripe

### Embed Badge

![Health badge](/badges/ryanpotter-silverstripe-color-field/health.svg)

```
[![Health](https://phpackages.com/badges/ryanpotter-silverstripe-color-field/health.svg)](https://phpackages.com/packages/ryanpotter-silverstripe-color-field)
```

###  Alternatives

[silverstripe/multi-domain

Allows multiple domains to access one CMS instance, mapping them to different sections of the hierarchy

141.6k](/packages/silverstripe-multi-domain)

PHPackages © 2026

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