The Colour Contrast Analyser (CCA) helps you determine the legibility of text and the contrast of visual elements, such as graphical controls and visual indicators.
Clone or download
patrickhlauke Remove visual artifact on picker in macOS
due to an oddity in macOS/electron, even a fully transparent window has a tiny remainder of a title bar; this suppresses it.
to avoid having the custom controls visible once the user moves the mouse to the top/menu bar, this also makes the transparent window wider than necessary ... the custom controls for close/minimize/expand are now off to the left, where they cannot be hovered (without this, all of a sudden the window buttons become visible)
Latest commit 6383c1a Oct 8, 2018

README.md

Colour Contrast Analyser

GitHub (pre-)release GPL-3.0 licence

CCA logo

The Colour Contrast Analyser (CCA) helps you determine the legibility of text and the contrast of visual elements, such as graphical controls and visual indicators.

This repository contains the source code for the new Colour Contrast Analyser (CCA) builds for Windows and macOS based on Electron. For the previous, non-Electron versions ("CCA Classic"), see the CCA-Win and CCA-OSX repositories.

CCA Interface

For further information, see The Paciello Group's Colour Contrast Analyser resource page.

Features

  • WCAG 2.1 compliance indicators
  • Several ways to set colours: raw text entry (accepts any valid CSS colour format), RGB sliders, colour picker (Windows and macOS only)
  • Support for alpha transparency on foreground colours
  • Colour blindness simulator

Known issues

Contributing

If you have an idea for a new feature, or if you found a bug, please submit a GitHub issue. Please search the existing issues before submitting to prevent duplicates.

If you want to contribute, please send a pull request and someone will review your code. Please follow the Contribution Guidelines before sending your pull request.

Contact

If you have any questions, feel free to open an issue here on GitHub.

License

GNU GPLv3 Image

Colour Contrast Analyser (CCA) is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.