Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Colours course format.

Colours course format

From MoodleDocs

This course format, based on the 'Topics' standard format, allows a teacher to specify the foreground and background colours for each course section.


This format was created by Davo Smith of Synergy Learning, on behalf of Landesmedienzentrum Baden-Württemberg.

The main lib.php and formats.php files are only lightly modified from those found within the standard format_topics, the rest is new code.

Colours format in use


Edit colours icons

This format is not currently compatible with Moodle 2.3.

  1. On the course settings page, choose the format 'Topics format (colours)'.
  2. Click on the 'Edit colours' icon (on the left of a course section) to edit the colours for that section.
  3. Click on the 'Copy colours' icon (below the 'Edit colours' icon) to copy the colours from another section into the current section.

Note: only users with the capability 'format/colours:editcolours' (by default, manager, coursecreator and editingteacher roles) can edit course colours.

Note: This is compatible with the core Moodle themes, but may not work as well custom themes.

Further enquiries

If you have any questions about this plugin or are interested in further development work, please contact