Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6900953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:36:45+00:00 2026-05-27T07:36:45+00:00

Possible Duplicate: Using 3-digit color codes rather than 6-digit color codes in CSS I

  • 0

Possible Duplicate:
Using 3-digit color codes rather than 6-digit color codes in CSS

I was checking out the CSS of the new YouTube website. There are many examples of usages of 6-digit hex color codes when 3 are sufficient, eg:

  • color:#990000
  • color:#550000
  • color:#000000
  • color:#005500

I always prefer 3 characters in that case. Perhaps YouTube feels this makes it clearer and shortening this to 3 characters is not worth the minimal savings. That is fine. I am just wondering if there is not an additional technical benefit in using 6 characters – for instance, lack of compatibility of 3 chars with certain old browsers. Any idea?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:36:45+00:00Added an answer on May 27, 2026 at 7:36 am

    There is no significant difference.

    Yes, they could shave a few bytes off their network payload by shortening #990000 to #900 and I admit that I’m surprised that their CSS minifier didn’t do that.

    Then again, if they are sending it over the network using compression (which they probably are), then compression will totally take care of those three bytes.

    Hence, no significant difference.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: How to block a website programatically using DotNet HAI I am developing
Possible Duplicate: using mysql_close() Are mysql_close and pg_close required ? In some script there
Possible Duplicate: Tab behavior using jQuery Imagine that there are many text boxes in
Possible Duplicate: Using java to create a web browser Is there any way to
Possible Duplicate: Programmatically using tab character in .NET? Is there an equivalent value for
Possible Duplicate: Using LGPL library in a commercial Java application Hello guys! There is
Possible Duplicate: Using 'return' in a Ruby block I'm new to Ruby, and was
Possible Duplicate: Using ASP.NET Controls without databinding My previous question yielded few results so
Possible Duplicate: Casting vs using the ‘as’ keyword in the CLR Which method is
Possible Duplicate: Converting XML to JSON using Python? I am importing an XML feed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.