Youtube Logo Color Code in CSS

Benjamin Jul 11, 2026

The YouTube logo, with its iconic red, black, and white color scheme, is instantly recognizable worldwide. But have you ever wondered how to replicate this logo's colors in your own designs? Or perhaps you're a web developer looking to incorporate these colors into your CSS. Either way, you've come to the right place. In this guide, we'll delve into the YouTube logo color code in CSS, exploring the RGB, HEX, and HSL values that make up this famous logo.

YouTube color codes: RGB, CMYK, Pantone, Hex
YouTube color codes: RGB, CMYK, Pantone, Hex

Before we dive into the specifics, let's first understand the importance of color in branding. Colors can evoke emotions, convey messages, and even influence purchasing decisions. For YouTube, the red, black, and white color scheme is no accident. It's designed to be bold, attention-grabbing, and versatile, reflecting the platform's dynamic and diverse content.

youtube logo
youtube logo

YouTube Logo Color Code: The Basics

The YouTube logo consists of three primary colors: red, black, and white. Each of these colors plays a unique role in the logo's design and overall brand identity.

the youtube logo is shown in red and white
the youtube logo is shown in red and white

In the next sections, we'll break down each color, providing you with the RGB, HEX, and HSL values you need to replicate these colors in your CSS projects.

YouTube Red

the youtube logo is shown in black and red
the youtube logo is shown in black and red

The red in the YouTube logo is a vibrant, attention-grabbing shade often associated with energy, passion, and excitement. Here are the color codes you need:

  • RGB: (204, 0, 0)
  • HEX: #CC0000
  • HSL: (0, 100%, 50%)

To use this color in your CSS, you might write:

the logo for youtube is shown in red, black and white colors with an arrow
the logo for youtube is shown in red, black and white colors with an arrow

color: #CC0000;

YouTube Black

The black in the YouTube logo provides contrast and balance to the bold red. It's a standard, deep black with the following color codes:

  • RGB: (0, 0, 0)
  • HEX: #000000
  • HSL: (0, 0%, 0%)
the youtube logo on a black background
the youtube logo on a black background

In CSS, you might use it like this:

background-color: #000000;

YouTube White

CSS
CSS
dfgh
dfgh
youtube
youtube
an orange and white play button with the word youtube written in black on it's bottom corner
an orange and white play button with the word youtube written in black on it's bottom corner
the real logo of youtube is displayed in this screenshote screen shot, which shows options
the real logo of youtube is displayed in this screenshote screen shot, which shows options
Rapid prototyping with CSS keyword colors
Rapid prototyping with CSS keyword colors
YouTube Neon app icon
YouTube Neon app icon
a bunch of different types of font and numbers on a white background with the same color scheme
a bunch of different types of font and numbers on a white background with the same color scheme
YouTube Studio Logo
YouTube Studio Logo
you tube
you tube
3d YouTube
3d YouTube
App Icon old Windows~YouTube
App Icon old Windows~YouTube
Graffiti YouTube app icon
Graffiti YouTube app icon
- 🧾 YouTube.com 📺 Icon HTML Code | Scrapers〘N〙Bots Blog
- 🧾 YouTube.com 📺 Icon HTML Code | Scrapers〘N〙Bots Blog
the youtube logo is shown on a red background with white letters and black lettering that reads, you tube
the youtube logo is shown on a red background with white letters and black lettering that reads, you tube
AA Boyfriend 🏫
AA Boyfriend 🏫
The youtube logo is shown in this image
The youtube logo is shown in this image
HTML JS CSS Logos Icons PNG
HTML JS CSS Logos Icons PNG
Download play button youtube, youtube video icon, logo symbol red banner, web video mark vector
Download play button youtube, youtube video icon, logo symbol red banner, web video mark vector
🎨 CSS Colors & Backgrounds | Complete Beginner's Cheat Sheet
🎨 CSS Colors & Backgrounds | Complete Beginner's Cheat Sheet

The white in the YouTube logo is a standard, bright white that helps the logo stand out against various backgrounds. Here are the color codes:

  • RGB: (255, 255, 255)
  • HEX: #FFFFFF
  • HSL: (0, 0%, 100%)

To use this color in your CSS, you might write:

color: #FFFFFF;

Using YouTube Colors in Your Designs

Now that you have the color codes, you might be wondering how to best use them in your designs. Here are some tips:

1. **Balance**: Remember to balance the bold red with the black and white to avoid overwhelming the design.

2. **Contrast**: Use the black and white to create contrast and make the red stand out.

3. **Versatility**: The YouTube color scheme is versatile. Don't be afraid to experiment with different shades and tints to create unique designs.

Creating Gradients

Gradients can add depth and dimension to your designs. Here's how you might create a YouTube-inspired gradient in CSS:

background: linear-gradient(to right, #CC0000, #FFFFFF);

Using YouTube Colors in Dark and Light Modes

To ensure your designs are accessible and appealing to all users, consider using YouTube's colors in both dark and light modes. Here's how you might do that:

body.dark-mode {
  background-color: #000000;
  color: #FFFFFF;
}

body.light-mode {
  background-color: #FFFFFF;
  color: #000000;
}

Finally, always remember that while the YouTube logo is iconic, your goal is to create unique, engaging designs that reflect your own brand or project. So, while it's great to draw inspiration from the YouTube logo, don't be afraid to put your own spin on things.