Add a Color Blind Filter Toggle to Your Squarespace Site
Make your site more inclusive and visually accessible with a one-click filter that simulates common types of colour blindness.
What It Does
This creates a toggle button you can place anywhere on the screen. Visitors can cycle through visual filters that simulate:
🟠 Grayscale — Desaturation for total color removal
🟥 Deuteranopia — Red-green color confusion
🟦 Protanopia — Another type of red-green deficiency
🟡 Tritanopia — Blue-yellow color confusion
When active, the filter affects everything on the page — text, images, background colors, even videos — by applying a CSS filter
.
Why It Matters
Accessibility isn’t just about screen readers and alt text — colour perception varies dramatically from person to person. This tool helps raise awareness, test colour contrast, or just make your site more usable for color blind visitors.
How to Use It
Simply click the copy code button and paste into a code block, you can add this feature to any page or add it to you sites footer for it to apply globally.
Notes
The tool stores your visitor’s last selected mode using
localStorage
, so it stays consistent across page views.SVG filters are used for more accurate color simulations beyond basic grayscale.
Is This Free to Use?
Personal use is free forever.
If you’re using this tool/game on your own blog, portfolio, or personal Squarespace site, you don’t need to pay — enjoy it freely.
Commercial use requires a one-time license.
If you’re a developer, agency, or using this on a client project or monetized site, please purchase a commercial license. It helps support ongoing development and gives you peace of mind.
One-time cost: £49.99 (normally £79.99)
Covers unlimited client sites, all current tools, and future updates.
👉 Learn more or buy a license here
Disclaimer
This script is provided as-is with no guarantees. While it's designed to be safe for most Squarespace sites, always test changes before going live — especially if you’ve installed third-party plugins, custom fonts, or heavy integrations. By using this code, you accept that we are not liable for any unexpected behavior or performance changes.