How to keep colour in HEX code for Colors in microthemer

Author Posts

sjrowe

While using Microthemer, Default colour shows value in RGB but I mostly use it in Hex code.

Screenshot: https://a.cl.ly/BluzLgwq

How to make all the default value of color in HEX ?

Please help.

Thank you.


Sebastian

Hey,

Unfortunately this isn’t currently supported. There is an option for reporting computed colors as hex in the UI, but not converted the actual output to hex in the code editor.

I will see if this can be supported and update you with my progress.

Cheers,
Sebastian


Sebastian

I think the reason MT always outputs colors as RGB/A is that Internet Explorer 11 doesn’t allow 8-digit hex values for the alpha channel. However, IE11 is not used much anymore so I could implement this now.

But my question is – do you still want MT to output color values as hex values when RGBA transparency applies? Or should MT use an RGBA value in such circumstances? The opacity value in a hex color isn’t as easy to read as the last number in an rgba color e.g. 0.7 or 50%.

Cheers,
Sebastian

You must login or register to reply to this topic.