Using the Mac OS X Color Picker with FileMaker Pro
I love FileMaker 13’s new style tools! The tools make creating and maintaining a consistent theme style for a project, incredibly simple. After attending the FileMaker DevCon session, Layouts: Under the Hood, I love them even more. A tool that I’ve been using lately, to aid in creating custom themes for our clients, is the built in Mac OS X Color Picker, specifically the color palette tab. The Mac OS X Color Picker’s color palette tab allows you to add specifically-picked colors to a saved list. Using this, I can take a list of branded colors from a client, add them to a palette, and then start creating my FileMaker theme with the exact colors needed.
Creating a New Palette with Mac OS X Color Picker
To create a new palette with the built-in Mac OS X Color Picker:
- In FileMaker Pro, select any color tool that allows you to pick a color
- Select the Color Palettes tab
- From the gear icon next to the current palette’s name, select New, as shown in the image below:
- The new palette created will show as Unnamed. Select the gear icon again, and select Rename to give your palette a custom name
Saving Colors
You have a number of ways to save colors to the color palette.
The Color Selector
- Probably, the simplest way of grabbing colors to add to a palette is to use the color selector. This is the little spyglass found in the upper left corner of the color picker.
With this tool, you can literally point the spyglass at the color you want to capture. For example, let’s grab the colors from the FileMaker website. With a new palette created called FileMaker Website, I’ll…
- Bring up the website in a browser and then switch back to my FileMaker Color Picker.
- Click on the Color Selector icon.
When you do this, your cursor will change to a spyglass with a crosshair in the lens. You can hover over the color you want to select on the website. Once you have the color you want, you can click to capture it in your color picker.
- Once the color has been selected, you can click the plus sign (+), at the bottom of your palette, to add it to your list.
A double-click of the color’s title will allow you to change its name. This will allow you to quickly walk through an image to build a palette which you can in turn use to create your theme.
Hexadecimal Values
- The color picker is great, but sometimes you’re looking for an exact color.
A free plugin called Hex Color Picker will allow you to specify hexadecimal values for specific colors.
Hues
- Hues is an application available on the Mac App Store that turns the built-in OS X Color Picker into a standalone app.
This way, you don’t need to bring up FileMaker Pro to add colors to your palette. This is particularly helpful if you do development in other languages or platforms.
Sharing
- Building the palettes are great for your personal development, but they really start to shine when you share them with others.
The gear icon in the palette tab allows you to Open pre-existing palettes. This imports the palette into your local palette list. Unfortunately, the Mac OS X Color Picker doesn’t give an easy way to export a palette you’ve built, to pass it on to someone else. Luckily for us, we’re developers; so, we like getting our hands dirty! 😉 Here’s a work-around: The palettes are stored in your local folder: ~/Library/Colors
You can get to the folder by either:
- Opening Terminal and typing in the command:
open ~/Library/Colors/
- Selecting the Finder, clicking the Go menu, selecting Go to Folder and typing in the path:
~/Library/Colors/
Once in the folder, you’ll see a list of .clr files. These are your palettes. You can pass a copy of these files to someone else and they can use the above mentioned Open option in the color palette to import your palette.
Omnipresence
One of the best reasons to use the built-in Mac OS X Color Picker, is that the palettes are available in any application that uses the built-in color picker. This means, if you like to use a tool like Omnigraffle to do layout wire framing, you can use the exact colors from your palette. Christopher Schmitz is a FileMaker 13 Certified Developer at Skeleton Key. About Skeleton Key Skeleton Key helps turn complex, complicated, and outdated systems into true information platforms. Our team of consultants and developers do this by developing custom-fit software tools and reporting dashboards that help businesses find, use, and understand their data, freeing them to focus on and grow their core business. In addition to custom databases and applications, we also provide training and coaching for getting the most out of your existing systems and understanding your unruly data. Skeleton Key is an open-book management company and active player of the Great Game of Business.