Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome DevTools converts All HEX Colors to RGB on Computed tab: how to stop?

On Chrome DevTools the colors that are shown on the Computed tab are always shown as RGB.

If you shift+click on them they change their format but what I want is a more "permanent" configuration that sets all colors to be shown as HEX or to be the same format "as authored".

Please note this question only relates to the Computed tab. For the styles tab there is already a good answer and a nice configuration on chrome: Chrome DevTools converts all HEX Colors to RGB but that configuration don't seem to apply to computed tab. Tested on Chrome Win7/64: Version 45.0.2454.101 m

like image 573
AlfaTeK Avatar asked Oct 20 '22 01:10

AlfaTeK


1 Answers

On the current version of Chrome that isn't possible, there is no setting for that.

The Computed tab is intended to only display the values that come from the browser (you can get the same values using Window.getComputedStyle()), but having it render the colors in the format of you choice is not unreasonable. Please file a feature request at http://crbug.com/new.

like image 135
Alexander Pavlov Avatar answered Jan 04 '23 07:01

Alexander Pavlov