Skip to content

gnuey56/eyedropper

 
 

Repository files navigation

Part of GNOME Circle maintenance-status CI

Eyedropper

Eyedropper

Pick and format colors.

Main Page

More screenshots

Status page

Customize the shown formats (Dark UI)

Customize the shown formats (Light UI)

Generate Color Palettes

Features

  • Pick a Color
  • Enter a color in Hex-Format
  • Parse RGB/RGBA/ARGB Hex-Colors
  • View colors in formats
  • Customize which formats appear as well as their order
  • Generate a palette of different shades

Available formats

  • Name (includes W3C color sets, GNOME Palette and xkcd color survey)
  • Hex
  • RGB
  • HSL
  • HSV
  • CMYK
  • XYZ
  • CIELAB
  • HWB
  • CIELCh/HCL
  • LMS
  • Hunter Lab

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

Download on Flathub

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.

yay -S eyedropper
yay -S eyedropper-git

Contributing

Contributors are expected to follow the GNOME Code of Conduct.

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:

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'feat: add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. 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.

About

Pick and format colors, built with GTK, libadwaita and Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 96.1%
  • Meson 2.4%
  • Shell 1.5%