Home/Brand Colors/GitHub
Technology / Developer Tools · Est. 2008

GitHub Brand Colors

GitHub's dark brand palette projects developer culture, technical mastery, and the collaborative spirit of open-source software.

GitHub Color Palette

ColorNameHexRGBCMYKPantoneUsage
GitHub Dark36,41,470,0,0,82Black 6 CPrimary background, navigation header
GitHub White255,255,2550,0,0,0WhiteLogo on dark backgrounds, text
GitHub Green45,164,7877,0,60,35355 CPrimary CTA buttons, contribution graph
GitHub Purple110,64,20146,69,0,212665 CGitHub Copilot branding, premium features

GitHub Color Story

GitHub's dark color scheme reflects developer culture — most engineers use dark mode IDEs, and GitHub's interface was an early adopter of dark aesthetics in enterprise tools. The green CTA buttons and contribution graph signal productivity and growth, turning code commits into a visible achievement system. The purple introduced with GitHub Copilot marks AI-powered features and premium capabilities.

Use GitHub Colors in CSS

CSS Variables
:root {
  --github-github-dark: #24292F;
  --github-github-white: #FFFFFF;
  --github-github-green: #2DA44E;
  --github-github-purple: #6E40C9;
}

Frequently Asked Questions

What is GitHub's brand color hex code?

GitHub's primary dark background color is #24292F. The GitHub logo is white on dark backgrounds. The primary CTA green is #2DA44E, and GitHub Copilot uses purple (#6E40C9).

What is GitHub's green color hex?

GitHub's primary green hex code is #2DA44E. This green appears on the main call-to-action button ('Sign up') and in the contribution activity graph on user profiles.

What color is the GitHub logo?

The GitHub logo (the Octocat/invertocat mark) is rendered in white (#FFFFFF) on dark backgrounds or in near-black (#24292F) on light backgrounds. The logo has no fixed color — it adapts to contrast requirements.

← View all brand color palettes