You pick the colors. We make them accessible.
(Our color wizard can work miracles, but even magic has limits - don't expect us to make neon yellow on white look good!)
Real examples showing the subtle but powerful improvements
from cm_colors import ColorPair
# Your beautiful but inaccessible colors
pair = ColorPair('#5f7887', '#e6f0f5')
print(f"Original: {pair.wcag_level}") # FAIL
# ✨ The magic happens here ✨
tuned_color, success = pair.tune_colors()
print(f"Tuned: {tuned_color}") # #5c6f7b
print(f"Accessible: {success}") # True
You pick the colors. We make them accessible.
(Our color wizard can work miracles, but even magic has limits - don't expect us to make neon yellow on white look good!)
Real examples showing the subtle but powerful improvements
from cm_colors import ColorPair
# Your beautiful but inaccessible colors
pair = ColorPair('#5f7887', '#e6f0f5')
print(f"Original: {pair.wcag_level}") # FAIL
# ✨ The magic happens here ✨
tuned_color, success = pair.tune_colors()
print(f"Tuned: {tuned_color}") # #5c6f7b
print(f"Accessible: {success}") # True