Back to Plugins

RGB565
Converts objects and images into RGB565
Plugin 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
Version | 1 |
---|---|
Created | August 6, 2025 |
Last Updated | August 6, 2025 |
Category | design-tools-other |
Creator | Elle Fiorentino-Lange |
Stats | 0 installs, 0 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the design-tools-other category.