Implementing color.module in your theme

Last updated on
12 May 2025

This page has not yet been reviewed by Contributed modules for developers maintainer(s) and added to the menu.

Enabling

In /themes/THEMENAME/THEMENAME.info. Add this line:

color = TRUE

Done.

Configuring

The hook (hook_color) for the color module is to be stored in template.php.

THEMENAME_color()

It returns an array of variables identical to what color.inc used to have. For examples you can see our Stylesheets page

Troubleshooting

Help improve this page

Page status: Not set

You can: