Chrome DevTools converts all HEX Colors to RGB

CssGoogle ChromeGoogle Chrome-Devtools

Css Problem Overview


Recently, Chrome DevTools has begun converting all elements' HEX colors to their RGB values, regardless of whether that HEX color is set in CSS or through the DevTools itself. How to stop that?

I am aware of the hold down Shift + click the color icon method of converting colors to other formats, but I find this inconvenient. I am wondering if anyone knows how to stop this from happening?

Css Solutions


Solution 1 - Css

Step 1, click the gear icon

enter image description here

Step 2, change Color format

enter image description here

Original answer

Open Chrome DevTools panel:

Click 3 dots icon at the far right corner, select Settings, and in the Preferences panel find Elements > Color format, select the option you wish to have, As authored is the default option.

screenshot

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAJeezy9View Question on Stackoverflow
Solution 1 - CssStickersView Answer on Stackoverflow