In my Colors Catalog, I want to reuse the same color.
In the following example, instead of writing the same hex value for multiple entires, I want to add it the the list under Color > Content, where Display P3
and Extended Range sRGB
reside.
In my Colors Catalog, I want to reuse the same color.
In the following example, instead of writing the same hex value for multiple entires, I want to add it the the list under Color > Content, where Display P3
and Extended Range sRGB
reside.
Simple and works system wide in all apps.
You can open images to select colors from and you can insert colors in any palette with macOS color picker.
The list you are asking for is for color profiles, which is what Apple's "ColorSync Utility.app" is for but does not mean you can change Xcode.
Just to make it complete..
Maybe you are looking for "Color Sense" plugins or Apps which can make developers life easier when coding colors. The idea is you start writing NSColor
or UIColor
and code completion opens a color picker for you which will help you writing the color codes or pick one of yours. There is plenty of talk about it even here on stackoverflow.. but as the API changes sometime a little cause of the evolution of Xcode you would have to compile it yourself. see
xcode code sense color/completion not working
I don't want to make advertisment for any product here.
But if color stuff becomes to complex in a project i use a tool that helps me writing a Color class where i keep all colors together and supports me with color conversions as needed.
To elaborate on the previous solution, it's possible to add a custom palette. Still not exactly what I was looking for, but it's getting closer:
in the assets folder , choose a set color, then give it a name and customize it, for darkmode etc. if not only the one color.and when you are choosing colors in the storyboard they apear among the first ones. https://i.stack.imgur.com/8I4Kz.png