Check Contrast between Two Colors with Contrast App
Contrast is a free and open source WCAG color contrast checking application for Linux. The Web Content Accessibility Guidelines (WCAG) are part of a web accessibility guidelines published by the World Wide Web Consortium. Using this color Contrast checking app you can perfectly check the contrast between two colors with WCAG requirements. You can choose color from your desktop using the build-in color picker or via the hex code. It displays the result in A, AA and AAA score and also in text like Awesome, Pretty Good, Not Bad and Nope.
Install Contrast on Ubuntu Linux
Contrast is available as a flatpak package file from flathub. First install flatpak and flathub on your system and restart it. After that open the terminal command-line software and run below Contrast flatpak command.
flatpak install flathub org.gnome.design.Contrast
It will install the latest Contrast app in your Ubuntu system. You can run Contrast via
flatpak run org.gnome.design.Contrast
And uninstall Contrast app using
sudo flatpak uninstall org.gnome.design.Contrast