GitHub Code Colors

A userscript that adds a color swatch next to the code color definition

Aŭtoro
Mottie
Ĉiutagaj instaloj
0
Tutaj instaloj
437
Ratings
11 0 1
Versio
2.0.9
Kreita
2016/03/20
Ĝisdatigita
2024/02/17
Size
9,06 kb
Licenco
MIT
Aplikiĝas al

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.
  • Additional support for colors set inside strings (e.g. javascript or canvas).
  • 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.

github-code-color

Hosted with ♥ at GitHub