A userscript that adds a color swatch next to the code color definition
- It works in comment previews and code pages.
- Supports hex, rgb, rgba, hsl, hsla and all named colors.
- It does not interfere if you copy & paste the code.
- In v2+:
- You can use Tab to navigate between swatches.
- Pressing Space and Enter will toggle the popup (when focused).
- Pressing Esc will close all popups.
- See example code & the change log here.
Hosted with ♥ at GitHub