Skip to main content
Glama

check_color_contrast

Analyze CSS to detect low-contrast color pairs, mixed color sources, and low opacity on text that cause readability issues across theme changes.

Instructions

Detects color contrast issues in CSS: low-contrast hardcoded color pairs (light-on-light, dark-on-dark), mixed color sources (one design token + one hardcoded), and low opacity on text. Catches patterns that break readability across theme changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cssTextYesCSS code to analyze for color contrast issues

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bookedsolidtech/helixir'

If you have feedback or need assistance with the MCP directory API, please join our Discord server