cage.chung Posted August 12, 2022 Share Posted August 12, 2022 (edited) Extract color from an image Features Dominates the color palette with k-means clustering support image format: `jpg`, `png`, `gif`, `bmp`, `webp` and `tiff` Local file / base64 image data URI / `http` and `https` image source URL Export palette Code CSS ASE file Image file: Support `RGB` ,`HEX` ,`CMYK` ,`HSL` ,`HSV` ,`HWB` ,`LAB` ,`XYZ` ,`HCG` Copy palette (`⌥ + Enter` Single / `^ + Enter` Multiple) to clipboard `RGB` ,`HEX` ,`CMYK` ,`HSL` ,`HSV` ,`HWB` ,`LAB` ,`XYZ` ,`HCG` Multiple palette mode copy color separated by (`⌥ + Enter`) Requires Preferably Alfred 5 Configuration Number of colors to extract Usage - File Filter / File Action - Hokey - Universal Action with Base64 Image Data URI and image URL Copy Single Color Copy Multiple Colors Export Image Sample: Hex ASE sample Decode result Download / Source Code Make sure to download the latest released directly from the releases page. Download here, Source Code https://github.com/cage1016/alfred-paletter Edited August 19, 2022 by cage.chung revised README and new demo.gif for better user experience JJJJ 1 Link to comment
vitor Posted August 12, 2022 Share Posted August 12, 2022 Nice idea! I can see the immediate use for designers. Quick suggestion: instead of having users paste an image path, add a File Action Trigger; it’s tailor-made for this use-case. Link to comment
vitor Posted August 12, 2022 Share Posted August 12, 2022 4 minutes ago, cage.chung said: Script Filer support universal action. That only works if you have the feature turned on in Alfred Preferences → Features → Universal Actions → Actions (bottom checkbox). By adding the object specifically, it will work for everyone. Link to comment
cage.chung Posted August 12, 2022 Author Share Posted August 12, 2022 (edited) 11 hours ago, vitor said: That only works if you have the feature turned on in Alfred Preferences → Features → Universal Actions → Actions (bottom checkbox). By adding the object specifically, it will work for everyone. Thanks for reminding. v0.2.1 add File Filter / File Action / Universal Action for better user experience Edited August 13, 2022 by cage.chung Link to comment
cage.chung Posted August 19, 2022 Author Share Posted August 19, 2022 1.0.0 - add export features (Code / CSS / ASE / Image with `RGB` ,`HEX` ,`CMYK` ,`HSL` ,`HSV` ,`HWB` ,`LAB` ,`XYZ` ,`HCG`) - revised copy feature as single / multiple palette Download / Source Code Make sure to download the latest released directly from the releases page. Download here, Source Code https://github.com/cage1016/alfred-paletter Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now