

Github GitHub - sindresorhus/System-Color-Picker: The macOS color picker as an a...
source link: https://github.com/sindresorhus/System-Color-Picker
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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
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
- Gifski - Convert videos to high-quality GIFs
- Plash - Make any website your Mac desktop wallpaper
- More apps…
Recommend
-
11
Sweet Flex 2 Color Picker Thursday, March 30, 2006 Check out this nice Flex 2 Color Picker that Tinic Uro put together. (Tinic...
-
18
DRK 2 : Advanced Calendar and Color Picker Example Thursday, December 5, 2002 I have put up a simple example using the Advanced Calendar and Color Picker co...
-
9
SwiftUI Color Picker TutorialA Color Picker shows the currently selected color and allow users to select a new color.. In this tutorial a Rectangle is filled with the chosen color of the color picker. This tutorial is built for iOS1...
-
9
Clean & simple color picker for web designers
-
12
Light and free to use HEX color picker by AdCreativeaiA simple, light and free to use HEX color picker by AdCreative.ai team that does not collect any information from your usage or account.NOTE: We have sever...
-
7
Color Picker English | 简体中文 Introduction This is the tutorial project of A...
-
18
Introduction This article almost didn't get written. I came to the hasty conclusion that nobody needs a color pick...
-
9
-
10
Microsoft PowerToys 0.64.1 patch fixes infinite loop bug in Color Picker, and a few more...
-
8
OKLCH Color Picker & Convertersrgb spaceorPaste HEX, RGBA, or HSL to convert to OKLCHTool m...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK