Colors.css provides the colors that GitHub uses to represent different programming languages in their "Languages" tab on each repository. This project allows you to uses these colors in your webpages, to view the different colors click here.
You can download the latest stylesheets from GitHub Releases.
You need to setup your repository to use the GitHub Package Registry to install colors.css.
See installing a package using GitHub Package Registry for detailed instructions on how to setup your project.
Once you have added the registry, you can install colors.css.
$ npm install @roryclaasen/colors.css
Language | Css Identifier |
---|---|
1C Enterprise | OneCEnterprise |
2-Dimensional Array | TwoDimensionalArray |
4D | FourD |
ASP.NET | ASPDotNET |
C# | CSharp |
C++ | Cpp |
Cap'n Proto | CapnProto |
DirectX 3D File | DirectXThreeDFile |
F* | FStar |
F# | FSharp |
Gemfile.lock | GemfileDotlock |
Graphviz (DOT) | GraphvizDOT |
HTML+ECR | HTMLECR |
HTML+EEX | HTMLEEX |
HTML+ERB | HTMLERB |
HTML+PHP | HTMLPHP |
HTML+Razor | HTMLRazor |
JavaScript+ERB | JavaScriptERB |
JSON5 | JSONFive |
Macaulay2 | MacaulayTwo |
Modula-2 | ModulaTwo |
Modula-3 | ModulaThree |
Motorola 68K Assembly | MotorolaSixtyEightKAssembly |
MQL4 | MQLFour |
MQL5 | MQLFive |
NetLinx+ERB | NetLinxERB |
Objective-C++ | ObjectiveCpp |
P4 | PFour |
PEG.js | PEGDotjs |
Pep8 | PepEight |
Q# | QSharp |
Ren'Py | RenPy |
Unity3D Asset | UnityThreeDAsset |
Visual Basic .NET | VisualBasicDotNET |
X10 | XTen |