← Abdullah Alshenaifi/ tools / chroma

Chroma

COLOR CONVERTER · NEO PRINT
RGB565 · for ESP32 / ST7789
Every box is live & editable — type or paste into any field (hex, RGB, RGB565, swapped, HSL, CMYK, LAB, Pantone…) and the rest recompute instantly.
#

Preview

#A600FE
100

Channels

166
0
254
280
100
50

All Values · bidirectional

Web / sRGB
Embedded / Display (your world)
Print & Perceptual
Named / Matched

RGB888 → RGB565 bit packing

24 bits get crushed into 16. Red & Blue keep 5 bits, Green keeps 6 — hatched bits are thrown away.
RED
GREEN
BLUE
PACKED 16-BIT — RRRRR GGGGGG BBBBB
RGB565 (normal · little-endian)
RGB565 (byte-swapped · big-endian) — ST7789 high-byte-first
RGB565 (decimal)
Nearest CSS name
Nearest PMS · Coated
Nearest TCX · Fashion
Notes. Every field is two-way: edit it and everything else follows. The byte-swapped box is what most ESP32 SPI panels expect — ST7789 / TFT_eSPI / Adafruit_GFX push the high byte first, so 0xA01F goes on the wire as 0x1FA0. RGB565 is lossy; the small preview tag shows the actual color the panel renders. Pantone matching is a nearest-neighbour against a built-in sRGB approximation set (CIELAB) for both PMS Coated and TCX Fashion-Home-Interiors. Type a TCX code (e.g. 11-4201), a TCX name (Cloud Dancer), or a PMS code (286 C) into the Pantone box and it snaps. These are approximations, not spec-accurate spot colors. ΔE is CIE76 distance.
copied