PHPackages                             haunt-jonathan/silverstripe-colorfield - 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. haunt-jonathan/silverstripe-colorfield

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

haunt-jonathan/silverstripe-colorfield
======================================

SilverStripe 3 Color picker and DBField field with attitude.

v0.4(3y ago)0466BSD SimplifiedPHP

Since Jan 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/haunt-jonathan/silverstripe-colorfield)[ Packagist](https://packagist.org/packages/haunt-jonathan/silverstripe-colorfield)[ RSS](/packages/haunt-jonathan-silverstripe-colorfield/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

SilverStripe COLOR FIELD
========================

[](#silverstripe-color-field)

Color picker and DBField field with attitude.

ColorField
==========

[](#colorfield)

The `ColorField` form field implementing a color picker with extra input methods. Using [jQuery MiniColors](https://github.com/claviska/jquery-minicolors).

[![preview](screenshots/preview.png)](screenshots/preview.png)[![preview](screenshots/preview_2.png)](screenshots/preview_2.png)

Color
=====

[](#color)

The `Color` DBField for storing and manipulating colors.

- `$color->RGB()`, `$color->Hex()`, `$color->Alpha()`
- `Color::hex_to_rgb($hex)`, `Color::rgb_to_hex($r, $g, $b)`
- `$Color.R`, `$Color.G`, `$Color.B`, `$Color.Alpha`, `$Color.Hex`

Requirements
------------

[](#requirements)

- Silverstripe 3+

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

[](#installation)

### Composer

[](#composer)

- `composer require "colymba/silverstripe-colorfield:*"`

### Manual

[](#manual)

- Download and copy module in SilverStripe root directory

#### @TODO

[](#todo)

- HSL/HSB/CMYK/RGB/HEX convertions
- HSL/HSB filed input

License (BSD Simplified)
------------------------

[](#license-bsd-simplified)

Copyright (c) 2013, Thierry Francois (colymba)

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Thierry Francois, colymba nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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

Every ~0 days

Total

2

Last Release

1274d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1762808?v=4)[Github Issue Bot](/maintainers/haunt)[@haunt](https://github.com/haunt)

---

Top Contributors

[![haunt-jonathan](https://avatars.githubusercontent.com/u/113562365?v=4)](https://github.com/haunt-jonathan "haunt-jonathan (3 commits)")

---

Tags

silverstripecolorcolor pickercolourdbfieldcolour field

### Embed Badge

![Health badge](/badges/haunt-jonathan-silverstripe-colorfield/health.svg)

```
[![Health](https://phpackages.com/badges/haunt-jonathan-silverstripe-colorfield/health.svg)](https://phpackages.com/packages/haunt-jonathan-silverstripe-colorfield)
```

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[tractorcow/silverstripe-colorpicker

Color picker field for Silverstripe CMS using the ColorPicker jQuery plugin

18267.0k17](/packages/tractorcow-silverstripe-colorpicker)[symbiote/silverstripe-gridfieldextensions

A collection of useful grid field components

951.9M274](/packages/symbiote-silverstripe-gridfieldextensions)[tecnickcom/tc-lib-color

PHP library to manipulate various color representations

247.9M26](/packages/tecnickcom-tc-lib-color)[symbiote/silverstripe-advancedworkflow

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

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[silverstripe/tagfield

Tag field for SilverStripe

561.3M50](/packages/silverstripe-tagfield)

PHPackages © 2026

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