Sign Up

Log In

ColorTag

FREEMIUM
By apicloud
Updated 4 months ago
Media
9.2/10
Popularity Score
1322ms
Latency
97%
Success Rate

ColorTag API Overview

ColorTag is a powerful API for color detection. Taking an image file (or URL) as input ColorTag produces a list of text labels and hex RGB values that can be then used as tags for a certain image or item. Check out visual demo here: http://apicloud.me/apis/colortag/demo/. The API can sort tags by relevance (detecting colors of objects on the image, e.g. a dress, a car, etc.) or simply by weight in the image. First mode is perfect for e-commerce applications, allowing to automatically tag items with colors by simply providing a photo or a thumbnail and build a color tag cloud, so users are able to search items by color (e.g. red). Weight sorting mode can be useful for photos, wallpapers or other images without well-defined objects on them to analyze the palette in general. Text color labels can be assigned with different precision (just basic colors, W3C-compatible colors, precise colors, etc.).

Overview

ColorTag is a powerful API for color detection. Taking an image file (or URL) as input ColorTag produces a list of text labels and hex RGB values that can be then used as tags for a certain image or item. The API can sort tags by relevance (recognizing colors of objects on the pictures, e.g. a dress, a car, etc.) or simply by weight in the image. First mode is perfect for e-commerce applications, allowing to automatically tag items with colors by simply providing a photo or a thumbnail and build a color tag cloud, so users are able to search items by color (e.g. red). Weight sorting mode can be useful for photos, wallpapers or other images without well-defined objects on them to analyze the palette in general. Text color labels can be assigned with different precision (just basic colors, W3C-compatible colors, precise colors, etc.).

Use Cases

ColorTag API can perform color segmentation and histogram analysis to provide descriptive color statistics for an image. It can be useful color-processing utility in the following cases:

  • Tag items with the appropriate color derived from a photo or a thumbnail
  • Build color tag clouds to allow searching by color
  • Evaluate a picture and find dominant colors in it
  • Validate images (e.g. to filter images by determining their primary color or a set of specified colors)
  • Find exact color names (e.g. azure, crimson, khaki or indigo)
  • Determine image’s perceptually dominant color and find complementary colors using services like Adobe Kuler or Colour Lovers
  • Everything else you can come up with :)

Demo

Online demo is available at http://www.apicloud.me/apis/colortag/demo/

Feel free to test the API as much as you like!

Documentation

The most recent and complete API documentation is always available at http://www.apicloud.me/apis/colortag/docs/

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://apicloud-colortag.p.rapidapi.com/tag-file.json")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("palette=undefined")
.send("sort=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard