On this page
Implementing color.module in your theme
Last updated on
12 May 2025
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:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion