Plugin that copies layer fill color code for Bohemian Coding's Sketch 3
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

***Only works on Sketch 3: Please see the new version for Sketch 4 https://github.com/poyi/CopyColor

Copy Fill Color Sketch Plugin

This is a [Sketch](http://bohemiancoding.com/sketch/) Plugin that provides shortcut for copying a layer's fill color (with shift + command + f) or border's fill color (with shift + command + b) to clipboard. If you need to quickly grab the hex color code of either the layer fill color or border color within Sketch and paste it somewhere else, then this plugin may save you some time.

Install

Method 1: Download Directly

  1. Download this Plugin
  2. 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)
  3. The shortcut should now be available under the Plugin's menu in Sketch

Method 2: Using Sketch Toolbox

  1. Download and install Sketch Toolbox, which is a simple Sketch plugin manager
  2. Search "Copy Fill Color" and click install
  3. Shortcut should now be available in Sketch

Using the Plugin

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!