Skip navigation
kirstendietz
Currently Being Moderated

8-digit hex color codes

Mar 29, 2012 9:03 AM

Tags: #cs6 #beta #colors #hexadecimal

Using CS6 Beta on an iMac, OS 10.6.8.

 

I've noticed that in the color dialogue you can enter hex numbers that are 8 digits long (apparently 8-digit hex codes are used in Android). However, when you put in an 8-digit code and click OK, you get the error:

 

"A number between 000000 and ffffff is required.  Closest value inserted."

 
Replies
  • Currently Being Moderated
    Mar 29, 2012 4:42 PM   in reply to kirstendietz

    I see that it allows 8 digits but as can only select a color with digits from 000000 to ffffff.

     

    Pattie

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 29, 2012 4:36 PM   in reply to Pattie F

    Based on an internet search I did it looks like the extra two digits for Android represent an alpha channel.  This isn't available for Photoshop's color picker, so six digits is the max.  Thanks for the catch.

     

    On a related note, shorthand hex colors (3 digits) are now allowed in CS6.  For example, typing "abc" will now get you "aabbcc" instead of "000abc".

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 29, 2012 7:06 PM   in reply to kirstendietz

    It has to allow for:

    0xAABBCC

    #aabbcc

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points