Issue #6655Opened November 20, 2025by yvoroniak-infusemedia1 reactions

I have issues with colopicker strugling with proper color convertions

Question

https://github.com/GrapesJS/grapesjs/blob/f59e981f76ff378f59c06cf706af88e502db098e/packages/core/src/utils/ColorPicker.ts#L2407C5-L2415C6

I traced back to these lines and seems like when converting HEXA to RGBA theese lines mess up results. Is there particular reason to intentionally support legacy ARGB?

Answers (2)

yvoroniak-infusemediaNovember 20, 20250 reactions

for ex: #ff000077 (transparent red) is being converted to #000077 (shade of blue).

I tried monkey patch it but seems like internaly grapes js uses its own implementation not the one bound to window. (unfortunately for me)

Would be nice to have this fixed or those utiliies exposed for customization. Thank you.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.