---
title: "Get Pixel Color"
method: POST
path: "/api/display/pixel_color"
tags: ["display"]
---

# Get Pixel Color

`POST /api/display/pixel_color`

Retrieves the RGB color values of a pixel at the specified coordinates.

## Request body

- PixelColorRequest
  - `x` integer, required — X coordinate of the pixel
  - `y` integer, required — Y coordinate of the pixel
  - `display_num` integer — Display number to target

## Response `200`

Successfully retrieved pixel color

- unknown[]
  - unknown

## Other responses

- `422` — Validation Error
- `500` — Internal server error

## Changes

> 5 revisions in range; 1 could not be searched.

- **2025-01-13** `a2d864f3a8db` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/cuse-dev/apis/fastapi/changes/api/display/pixel_color/post.md)

---

[API](https://skmtc.dev/cuse-dev/apis/fastapi.md) · [All operations](https://skmtc.dev/cuse-dev/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cuse-dev/fastapi/revisions/5424450258fc/schema)
