Chrome DevTools 在 Computed 选项卡上将所有 HEX 颜色转换为 RGB:如何停止?
Chrome DevTools converts All HEX Colors to RGB on Computed tab: how to stop?
在 Chrome DevTools 上,计算选项卡上显示的颜色始终显示为 RGB。
如果您按住 shift 并单击它们,它们会更改格式,但我想要的是更多 "permanent" 配置,将所有颜色设置为显示为 HEX 或相同格式 "as authored"。
请注意此问题仅与 Computed 选项卡有关。 对于样式选项卡,已经有很好的答案和不错的配置on chrome: 但该配置似乎不适用于计算选项卡。在 Chrome Win7/64 上测试:版本 45.0.2454.101 m
在当前版本的 Chrome 上,这是不可能的,没有相应的设置。
Computed 选项卡旨在仅显示来自浏览器的值(您可以使用 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.
获得相同的值
在 Chrome DevTools 上,计算选项卡上显示的颜色始终显示为 RGB。
如果您按住 shift 并单击它们,它们会更改格式,但我想要的是更多 "permanent" 配置,将所有颜色设置为显示为 HEX 或相同格式 "as authored"。
请注意此问题仅与 Computed 选项卡有关。 对于样式选项卡,已经有很好的答案和不错的配置on chrome:
在当前版本的 Chrome 上,这是不可能的,没有相应的设置。
Computed 选项卡旨在仅显示来自浏览器的值(您可以使用 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.
获得相同的值