ozh / github-colors

🌈 Github colors for all the languages

Home Page:https://github.com/ozh/github-colors/blob/master/ABOUT.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How does Github choose the colors?

jpreiss opened this issue · comments

Does anyone know how Github chooses the color for each language? Your page looks pretty close to a random sample of colors, but there are some coincidences:

  • Ruby is dark red
  • Rust is brown (but too light)
  • Dogescript is doge-colored
  • Java is coffee-with-milk-colored
  • Python is close to the blue in the Python logo
  • Red is red
  • Rouge is pinkish-red
  • RUNOFF is sewage-colored
  • Vimscript is close to the green in the Vim logo
  • C is grey because it's too serious for colors

On the other hand:

  • Chapel is not colored like any building material
  • Elm is not tree-colored
  • Emberscript is not red/orange
  • Neither Javascript nor Coffeescript are coffee-colored

If this information is published somewhere (I couldn't find it), it would be interesting to include it in your readme.

Nevermind, I found: github-linguist/linguist#2298 (comment)

It appears that they are manually chosen, and the logo-related colors are done on purpose.