djangorcp

A color picker field for Django admin that lets you pick a color from 24 randomly generated colors or a fixed list of hex values.


Keywords
django, colorpicker, admin, color, picker
License
Other
Install
pip install djangorcp==1.1.1

Documentation

Generates a set of random colors. Gives them a certain saturation and value if applied.

If you specify a set of fixed colors no randomization will be made and given colors presented instead.

Sample settings (please note that all settings are listed):

DJANGORCP = {
    'color': {
        'saturation': 0.301,
        'value': 0.621,
        'fixed_values': ['#000000', '#e3e3e3']
    },
}