Colour check
Download colour-check.mjs, then run it with Node.js 18 or newer:
node colour-check.mjs "#24372a" "#c1d2af"
The command prints JSON with the ratio and text-size thresholds. It uses no network and needs no token. Review the source before running it.
Scope
Opaque solid sRGB pairs only. Gradients, images, focus order and the rest of an interface are outside this check.
Make it yours.
Choose the format that fits your workflow.
Node.js CLI
text/javascript · v1.0.0 · en · 701 B
Node.js >=18 · macOS / Linux / Windows · any
node colour-check.mjs "#24372a" "#c1d2af"File details & reuse
License: MIT
Redistribution: allowed
SHA-256 8f2f9f962b9e8039c73c6cd23922eec93c5830e9d9a3cf9854766ee7179025e0
Ships with.
Published by Jetskibay mock studio. Fictional brand, working prototype.