
Image Color Palette Extractor
Under maintenance
Pricing
Pay per event

Image Color Palette Extractor
Under maintenance
A lightweight Apify actor that pulls an image from your key–value store, analyzes its top 8 dominant colors, and outputs a clean array of hex color codes for easy use in design or data pipelines.
0.0 (0)
Pricing
Pay per event
0
Total users
1
Monthly users
1
Last modified
6 days ago
Color Palette Extractor Actor
This actor extracts dominant colors from a single uploaded JPG, PNG, or SVG image. The input accepts a URL to the file uploaded via the fileupload
editor. The actor downloads the file from the run's key-value store, extracts up to eight colors, and outputs their hexadecimal values together with the original file name and URL.
Usage
- Upload your image file using the
fileupload
input. Its URL will appear in theimageFile
input field. - Run the actor. It will charge on start and after processing the image.
- The output dataset contains an object with the uploaded file name, its URL, and extracted colors.
Sample Output
When the actor runs successfully, the dataset will contain an array with objects describing the processed images. Below is an example of the expected output for a single uploaded file:
[{"name": "testImage1.jpg","url": "https://api.apify.com/v2/key-value-stores/9aM7qScaoBEXzBDyt/records/testImage1.jpg","colors": ["#1169cd","#78573e","#569edd","#dccbbe","#c2a187","#2885e3","#153346","#423021"]}]
Each item lists the original file name, its key-value store URL, and up to eight hex color codes extracted from the image.