Question:

If I have a color: afa492 And I want this same color but darker..how do I get the number?

by  |  earlier

0 LIKES UnLike

If I have a color: afa492 And I want this same color but darker..how do I get the number?

 Tags:

   Report

1 ANSWERS


  1. AFA492 is hexadecimal... each letter/number is a digit, but goes 0123456789ABCDEF instead of just 0123456789.

    AF is the red component of the color,

    A4 the green, and

    92 the blue.

    If you use Windows, you can convert between hexadecimal and decimal ("normal" numbers) using the calculator. switch to scientific, choose "hexadecimal," type in the number, and then choose "decimal." (I'm using japanese windows, so it may not use those exact words. It might be Base 16 and Base 10).

    AF = 175 (red)

    A4 = 164 (green)

    92 = 146 (blue)

    Let's call white 100% and black 0%. To darken the color 16.6% without changing the hue, reduce the left digit by 1:

    AF A4 92 -> 9F 94 82.

    If you want to reduce it by 1/256 (a tiny bit, you probably can't see the difference...

    AF A4 92 -> AE A3 91

    If you want to change by an arbitrary amount, open calculator, click hexadecimal, and type in the red value (AF). Click decimal, click minus, and type in a number. Then click hexadecimal. This will give you the first value (Subtracting 1, it would give you AE, as above).

    Then repeat for the next two clusters, subtracting the same number, and you'll have your new color, the same hue as the old one, but darker.

    Remember, subtracting one from each moves the shade 1/256th of the way from white to black. No value can be below 00, because nothing is blacker than black.

    You can learn more about hexadecimal from wikipedia, but it's really boring. Neither humans nor computers actually use it internally.

    A better site, if you really want to know about hexadecimal and colors, is http://www.web-colors-explained.com/hex....

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.