Preview the color code of the text on web site by changing the background color. Currently, only the hex format is supported.
Colorize Color Codes Extension
You can preview the color of the color code as it appears as text on the website. Just like you can preview the actual color of a color code in VSCode.
When you press the extension's button, the background color will change to the color of the color code in the text.
Notes
- Currently, only hex format is supported.
- The function may not work on some websites. In that case, please understand.
Read more
When you press the extension's button, the background color will change to the color of the color code in the text.
Notes
- Currently, only hex format is supported.
- The function may not work on some websites. In that case, please understand.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Colorize Color Codes", "description": "preview the color code of the text on web site by changing the background color. Currently, only the hex format is supported.", "version": "0.0.2", "manifest_version": 3, "permissions": ["activeTab", "scripting"], "action": { "default_popup": "popup.html", "default_icon": { "16": "/images/16.png", "48": "/images/48.png", "128": "/images/128.png" } }, "icons": { "16": "/images/16.png", "48": "/images/48.png", "128": "/images/128.png" }, "content_scripts": [ { "matches": [""], "js": ["findAndReplaceDOMText.js"] } ]}
Read more