Wolfram/
AccessibleColors
Installation Instructions
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["Wolfram/AccessibleColors"]
To load the code after installation, evaluate this code:
Needs["Wolfram`AccessibleColors`"]
Examples
Basic Examples (4)
Measure the contrast between two colors:
Grade a pair against the WCAG thresholds:
Repair a color so it clears AA:
Pick legible text for a background:
Scope (2)
Choose a legible label color across a whole palette at once:
Build a light/dark adaptive text color for a white-then-black background:
Applications (2)
Track the accessible text color live as a background is dragged:
Show each swatch in a palette labeled with the text color and ratio the package picks:
Compatibility
Wolfram Language Version 14.0
External Links
Version History
- 1.1.0
– 26 May 2026
- 1.0.0
– 22 May 2026
MIT License
Paclet Source