# Bubble ColorTag API Plugin

### Overview

This Plugin uses the ColorTag API, which is a powerful API for color detection. You can upload any image and the Plugin will return a list of the colours (in hex color code) that are present in the image. For a demo of the API in action you can visit: <http://apicloud.me/apis/colortag/demo/> You can grab an API Key from: <https://rapidapi.com/apicloud/api/colortag>

### **Instructions**

Once you have the plugin installed, head over to <https://rapidapi.com/> and sign up for an account (if you don't have one already). Once signed up and logged in, search for the "ColorTag" API. Click on Pricing and sign up for the Tier that you require. On the "BASIC" tier, the first 500 calls a month are free. Once signed up to a tier, go to the tab labeled "endpoints" and look for your "X-RapidAPI-Key". Copy your Key and paste it into the API Key Field of this Plugin. Now you can implement the API in your Bubble App. For example, set up a text field and click on dynamic data -> Get data from external API -> Color Tag API and Choose the image that should be used. The Image source can be dynamic. Please Note the Image Restrictions: Supported formats: JPEG, PNG and GIF Resolution: up to 8192×8192 File size: up to 20 MBytes


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://anticode.gitbook.io/templates/plugins/bubble-colortag-api-plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
