0+
June 10, 2026
February 5, 2016
Hugh is a social color experiment for WordPress. Add the Hugh widget to any sidebar and visitors to your site can pick a color — background, text, the whole page — and broadcast it to everyone else viewing the site at the same time.
How it works:
It’s part toy, part social experiment: can your visitors agree on a color, or will it descend into a color battle?
Technical details:
hugh/v1/colors (GET) and hugh/v1/colors/add (POST) are public and unauthenticated by design — this is intentional for the live-sharing mechanic.hugh_css filter lets themes register custom CSS overrides. Twenty Seventeen support is built in; other themes can hook in via add_filter( 'hugh_css', ... ).Note: Hugh works best on sites with an external object cache. Without one, colors are persisted to the database and shared state may lag under concurrent visitors.
hugh folder to /wp-content/plugins/ or install directly through the WordPress plugin screen.On sites with an external object cache (Redis, Memcached) Hugh is very fast — color reads and writes go straight to cache. On sites without one, each color submission writes to the database, which may not suit high-traffic sites.
Hugh applies a full-page background and text color change by default, with additional theme-specific rules for Twenty Seventeen. Other themes can add their own overrides by hooking into the hugh_css filter.
Hugh validates that submitted colors are valid 6-digit hex values (#rrggbb) before storing them. Labels are sanitized and capped at 255 characters.
Up to 100 recent colors are stored. Older entries are dropped automatically when the cap is reached.
The hugh/v1/colors/add endpoint is intentionally public so any visitor can submit a color without logging in — that’s the whole point. If you want to lock it down you can remove or replace the permission_callback via a custom plugin or mu-plugin.
limit parameter support to the colors REST endpoint.