GitHub Code Colors

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

目前为 2019-09-23 提交的版本。查看 最新版本

作者
Mottie
评分
0 0 0
版本
2.0.4
创建于
2016-03-20
更新于
2019-09-23
大小
8.9 KB
许可证
MIT
适用于

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

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址