***Only works on Sketch 3: Please see the new version for Sketch 4 https://github.com/poyi/CopyColor
Method 1: Download Directly
- Download this Plugin
- Double clicking the plugin file to automatically install, or drag and drop the plugin file to Library ▸ Containers ▸ com.bohemiancoding.sketch3 ▸ Data ▸ Library ▸ Application Support ▸ com.bohemiancoding.sketch3 ▸ Plugins (If you're running Mac Store Version)
- The shortcut should now be available under the Plugin's menu in Sketch
Method 2: Using Sketch Toolbox
- Download and install Sketch Toolbox, which is a simple Sketch plugin manager
- Search "Copy Fill Color" and click install
- Shortcut should now be available in Sketch
Copy Layer Fill Color
Select a layer with fill color and press Shift + Command + f. The hex code should now be copied to your clipboard and ready to be pasted.
Copy Border Fill Color
Select a layer with border color and press Shift + Command + b. Paste anywhere you see fit.
Note that the Shift + Command + f overwrites the Sketch default enter full screen shortcut, you can set your own shortcut by editing the plugin file at the top to avoid conflict. e.g. (shift cmd f) -> (shift cmd o)
Copy Text Color
Select a text object and press Shift + Command + x. Paste away!