• Color Detection Model

    Return density values for dominant colors present in images. Color predictions are returned in hex format and also mapped to their closest W3C counterparts. This model is great for anyone building an app where color is an important distinguisher.

Request

You can call the Predict API with the 'Color' model. Simply pass in an image input with a publicly accessible URL or by directly sending image bytes.

Learn more about the Predict API.
API Guide

Response

The Predict API returns the dominant colors present in the image. The predictions include the hex code, the density of the color in the given image, and the closest W3C color name for each identified color.

Endless possibilities with Computer Vision and AI

Gather valuable business insights from images, text and data using machine learning, natural language processing and computer vision.

  • Ready-to-use Models
  • Ready to get started?

    Whether you're a start-up or a Fortune 500, we'd like to discuss a personalized plan that fits your business use cases.

    Learn more about Clarifai

    Schedule a demo

    Discuss your solutions options

  • or
    Start for Free

     

    1,000 free operations per month.

  • Already a customer?

    If you're encountering a technical or payment issue, the customer support team will be happy to assist you.

    Contact support