Eyedropper
A powerful color picker and formatter.
Features
- Pick a Color
- Enter a color in Hex-Format
- Parse RGBA/ARGB Hex-Colors
- View colors in Hex, RGB, HSV, HSL, CMYK, XYZ and CIE-Lab format
- Customize which formats appear as well as their order
- Generate a palette of different shades
Future Features & Roadmap
- Generate a palette of similar colors
- Add more color formats
When should I use this? And when not?
This application is geared towards advanced users (developers, designers, etc…), who not only need to pick a color but also modify or view it in different formats. For simply picking a color on Gnome, the color-picker extension is far better suited.
Installation
Official
Unofficial
⚠️ These installation methods are not recommended: Installing them may result in bugs or unexpected behavior.
Nightly Flatpak
Download the latest artifact from the CI.
AUR
yay -S eyedropper
Contributing
Any contributions you make are greatly appreciated. For major changes, please open an issue first to discuss what you would like to change.
To contribute:
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Translation
Translations are a great way to contribute. This project uses the GNU gettext for translations. If you want to learn more, visit the translator section.
The easiest way to add a translation, is by importing the Eyedropper.pot
file into a program like Poedit or Gtranslator.
After finishing the translations, add the translated language code into the LINGUAS file. Then follow the above steps to create a pull request. Please also state in the description if you are willing to maintain the translation.
Building
See this general guide for building the project using GNOME Builder.
Alternatively use this VS Code Extension for working inside VS Code.
Building manually
Alternatively, it is possible to build the project manually using flatpak-builder
. First install the required sdks:
flatpak install org.gnome.Sdk//43 org.freedesktop.Sdk.Extension.rust-stable//22.08 org.gnome.Platform//43
Then build it using:
flatpak-builder --user flatpak_app build-aux/com.github.finefindus.eyedropper.Devel.json
To run it:
flatpak-builder --run flatpak_app build-aux/com.github.finefindus.eyedropper.Devel.json eyedropper
Build without flatpak
meson --prefix=/usr build
ninja -C build
sudo ninja -C build install
Credits
A huge thanks to these projects who served either as an inspiration or as code examples on how to use gtk-rs.
- GTK Rust Template
- Contrast
- Microsoft Color Picker Utility - Inspirations on the design
- All the other FOSS-GTK apps