Tagged: color value, hex, rgb/a
Author | Posts |
---|---|
Alok Sharma
August 26, 2018 at 6:15 am
|
Heads up! this post was created when Microthemer was at version 5. The current version is 7. Some references to the interface may be out of date. 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
August 27, 2018 at 3:38 pm
|
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! |
Alok Sharma
August 27, 2018 at 5:05 pm
|
Hi Sebastian, Thank you for your reply and clearing all the doubts. Thanks, Alok |
Sebastian
August 28, 2018 at 11:24 am
|
You’re welcome. I always appreciate it when users take an interest in the fine details, and take the time to report potential issues 🙂 |