Pages: [1]   Go Down

Author Topic: Does 18% gray have a hexadecimal value?  (Read 16321 times)

Bill Jaynes

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 62
Does 18% gray have a hexadecimal value?
« on: December 24, 2007, 05:35:19 pm »

Hello,
Does 18% gray have a hexadecimal value?
Just curious, might be a good background for web pages or a good border color.
Bill
Logged
Best regards,
Bill Jaynes [url=http://ww

dlashier

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 518
    • http://www.lashier.com/
Does 18% gray have a hexadecimal value?
« Reply #1 on: December 24, 2007, 05:57:27 pm »

Quote
Hello,
Does 18% gray have a hexadecimal value?
Just curious, might be a good background for web pages or a good border color.
Bill
[a href=\"index.php?act=findpost&pid=162942\"][{POST_SNAPBACK}][/a]

Approximately 117 for gamma 2.2.

- DL
Logged

John Sheehy

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 838
Does 18% gray have a hexadecimal value?
« Reply #2 on: December 24, 2007, 06:00:44 pm »

Quote
Hello,
Does 18% gray have a hexadecimal value?
Just curious, might be a good background for web pages or a good border color.
[a href=\"index.php?act=findpost&pid=162942\"][{POST_SNAPBACK}][/a]

808080

Assuming 128/128/128

It could be as low as 707070, though, as many images have their middle grey below 128.

The value someone else suggested of 117 would be 757575
« Last Edit: December 24, 2007, 06:05:15 pm by John Sheehy »
Logged

Panopeeper

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 1805
Does 18% gray have a hexadecimal value?
« Reply #3 on: December 24, 2007, 08:59:23 pm »

In sRGB (modified gamma 2.4) it is 0x75, in Adobe RGB 1998 (Gamma 2.2) it is 0x74.

However, this 0x74 is just at the "border" to the change to 0x75, and thus it may become 0x75, depending on the source range.
« Last Edit: December 25, 2007, 12:11:16 am by Panopeeper »
Logged
Gabor

John.Murray

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 886
    • Images by Murray
Does 18% gray have a hexadecimal value?
« Reply #4 on: December 26, 2007, 01:02:33 am »

Here's a decimal to hex RGB convertor:

http://www.javascripter.net/faq/rgbtohex.htm

hth - John
Logged
Pages: [1]   Go Up