/System-Color-Picker

The macOS color picker as an app with more features

Primary LanguageSwift

System Color Picker

The macOS color picker as an app with more features




Download

Requires macOS 11 or later.

Features

  • Quickly copy, paste, and convert colors in Hex, HSL, and RGB format
  • Show as a normal app or in the menu bar
  • Toggle it from anywhere with a global keyboard shortcut
  • Make the window stay on top of all other windows
  • Launch it at login

Keyboard shortcuts

You can use the following keyboard shortcuts in the app:

  • Pick color: Command p
  • Copy as Hex: Shift Command h
  • Copy as HSL: Shift Command l
  • Copy as RGB: Shift Command r
  • Paste color: Shift Command v (In the format Hex, HSL, or RGB)

Plugins

The built-in color picker supports plugins:

Screenshots

FAQ

The color changes if I copy and then paste it

That is because the default color space in the picker is Display P3, but the color space used for the CSS color formats is sRGB (browsers do not yet handle color spaces).

How do I change the color space?

Right-click the color wheel. You probably want to select “sRGB”.

Note that the color strings will always be converted to sRGB color space.

Can you support SwiftUI.Color / UIColor / NSColor formats?

The best practice is to use Asset Catalog for colors instead of hard-coding the values in code. If you really want to hard-code colors, the Scala color picker plugin supports UIColor and NSColor.

Can I contribute localizations?

I don't have any immediate plans to localize the app.

Built with

  • Defaults - Swifty and modern UserDefaults
  • Regex - Swifty regular expressions
  • KeyboardShortcuts - Add user-customizable global keyboard shortcuts to your macOS app
  • LaunchAtLogin - Add “Launch at Login” functionality to your macOS app

Other apps