Back to Plugins
RGB565

RGB565

Converts objects and images into RGB565

Plugin Preview

RGB565 preview

About this plugin

RGB 565

This plugin will convert your objects and images from RGB888 to RGB565 in order to test how colors and gradients will look when designing for memory-constrained devices.


The plugin has features for converting colors directly as well as for converting objects as an image.


Using "convert as image" is recommended for testing anything with gradients or drop shadows.


The conversion follows this formula:

function rgb888to565(color: { r:number; g: number; b: number }) {
let {r, g, b} = color;

r = Math.round(r * 255);
r = Math.round((r / 255) * 31);
r = r / 31;
g = Math.round(g * 255);
g = Math.round(g / 255) * 63);
g = g / 63;
b = Math.round(b * 255);
b = Math.round((b / 255) * 31);
b = b / 31;

return { r, g, b, a: 1 };
}


You can view the source code here.

Plugin Details

Version1
CreatedAugust 6, 2025
Last UpdatedAugust 6, 2025
Categorydesign-tools-other
CreatorElle Fiorentino-Lange
Stats0 installs, 0 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:ui.html
  • main:code.js
  • Document Access:dynamic-page
  • Editor Types:
    figma
  • Allowed Domains:
    • none