GitHub Code Colors

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

Ajankohdalta 17.2.2024. Katso uusin versio.

Tekijä
Mottie
Arvostelut
0 0 0
Versio
2.0.9
Luotu
20.3.2016
Päivitetty
17.2.2024
Size
9,06 kt
Lisenssi
MIT
Käytössä

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