---
name: color-picker
description: "Color Picker (Color Picker) via devops.majbase.com's free public API, no key required. Keywords: hex color picker, rgb color, pick color from image, цвят от снимка."
---

# Color Picker

Color Picker. Calls devops.majbase.com's free public API — no API key or authentication required.

## Endpoint

```
POST https://devops.majbase.com/color-picker/api
```

## Request / Response

```
API: POST /color-picker/api
  form-data:
    file=@image.(png|jpg|jpeg|webp)
    x, y (required) - pixel coordinates; out-of-range values are
                       clamped to the image bounds, same as a click
                       past the edge of the canvas on the page.
Returns {"x", "y", "hex", "rgb": {r,g,b}, "hsl": {h,s,l}}.
```

## Example

```bash
curl -sS -X POST https://devops.majbase.com/color-picker/api \
    -F "file=@photo.jpg" -F "x=120" -F "y=80"
```

## Notes

- No API key or authentication required.
- Full interactive tool: https://devops.majbase.com/color-picker/
