Microthemer writing color values in RGB/A

Tagged: , ,

This topic contains 3 replies, has 2 voices, and was last updated by  Sebastian 4 years, 1 month ago.

Author Posts

Alok_Sharma

Hi,

I have set “Report color in hex values instead of RGB/A” to “Yes” but when I view the generated CSS, the color values are written in RGB/A.

My apologies, but I am not a CSS Pro but was concerned if this is the correct behaviour.

Thanks


Sebastian

Hey,

Thanks for raising this. It is the correct behaviour. That setting refers to the reported CSS values Microthemer shows when you hover over a color property icon (e.g. font color). The color value that currently applies to an element will be shown as a hex value e.g. #000 rather than rgb(0, 0, 0). This is useful if you recognise colors in hex format. However, the CSS values in the stylesheet will always be in the RGB/A format. There might be technical reason for that. I’m having a hard time trying to recall if I’m completely honest!

I hope my explanation makes sense. Please let me know if you have any other questions.

Thanks!
Sebastian


Alok_Sharma

Hi Sebastian,

Thank you for your reply and clearing all the doubts.

Thanks,

Alok


Sebastian

You’re welcome. I always appreciate it when users take an interest in the fine details, and take the time to report potential issues 🙂

You must login or register to reply to this topic.