Luminous Landscape Forum

Raw & Post Processing, Printing => Digital Image Processing => Topic started by: Bill Jaynes on December 24, 2007, 05:35:19 pm

Title: Does 18% gray have a hexadecimal value?
Post by: Bill Jaynes 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
Title: Does 18% gray have a hexadecimal value?
Post by: dlashier 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
Title: Does 18% gray have a hexadecimal value?
Post by: John Sheehy 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
Title: Does 18% gray have a hexadecimal value?
Post by: Panopeeper 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.
Title: Does 18% gray have a hexadecimal value?
Post by: John.Murray on December 26, 2007, 01:02:33 am
Here's a decimal to hex RGB convertor:

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

hth - John