GitHub Colors

The GitHub brand palette has 2 colors: Black (#181717), White (#FFFFFF). Click a color to copy its code.

#181717
#FFFFFF
Black
HEX#181717
RGBrgb(24, 23, 23)
HSLhsl(0, 2%, 9%)
CMYKcmyk(0%, 4%, 4%, 91%)
NameDark Brown (closest)
Tailwindneutral-900
White
HEX#FFFFFF
RGBrgb(255, 255, 255)
HSLhsl(0, 0%, 100%)
CMYKcmyk(0%, 0%, 0%, 0%)
NameWhite
Tailwindzinc-50

CSS variables

:root {
  --github-black: #181717;
  --github-white: #FFFFFF;
}

Use this palette

Make a gradient Shades of #181717

Colors are approximations taken from public logos and brand guidelines. All trademarks belong to their owners; this site is not affiliated with them. Check the official brand guidelines before using these colors commercially.

More brand colors: Tech companies

GitHub colors: questions & answers

What are the GitHub brand colors?

Black (#181717), White (#FFFFFF).

What is the main GitHub color code?

The main GitHub color is Black, HEX #181717, which is rgb(24, 23, 23).

Can I use the GitHub colors in my design?

Using a color is fine, but logos and brand assets are trademarks of their owner. Follow the official GitHub brand guidelines when you refer to the brand.