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)0440BSD 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 1mo 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

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

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

1221d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f8423c262a170e5128ce3648adb15c275da1c5f26dd18460c32be3788b859dd4?d=identicon)[haunt](/maintainers/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

[tractorcow/silverstripe-colorpicker

Color picker field for Silverstripe CMS using the ColorPicker jQuery plugin

18250.8k13](/packages/tractorcow-silverstripe-colorpicker)[tecnickcom/tc-lib-color

PHP library to manipulate various color representations

247.2M9](/packages/tecnickcom-tc-lib-color)[presseddigital/colorit

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

2132.1k](/packages/presseddigital-colorit)

PHPackages © 2026

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