Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Featured Threads
  inspiration alert!!!
(36 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies) Members Gallery
(516 replies)
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

show user profile  zeefusion
On a webpage I have an RGB solid colour next to HEX web colour and they look different. I got the HEX value from Photoshop when I chose the RGB.

Any idea why this happens? Do HEX colours not have the same tonal range as RGB?
read 360 times
11/4/2011 5:19:21 PM (last edit: 11/4/2011 5:19:21 PM)
show user profile  advance-software
hex is a number format - base 16 rather than base 10 decimal.

got nothing to do with tonal range. probably entered incorrectly.

read 353 times
11/4/2011 6:48:59 PM (last edit: 11/4/2011 6:48:59 PM)
show user profile  zeefusion
Nope not incorrect. I chose an RGB value in Photoshop and noted HEX colour from the colour selector. I then entered the same HEX value in to a HTML document and the output was different. Lighter in fact.
read 349 times
11/4/2011 7:06:09 PM (last edit: 11/4/2011 7:06:09 PM)
show user profile  advance-software
html colour values probably aren't gamma corrected. no idea about ps.

do black & white match ?

read 349 times
11/4/2011 7:09:56 PM (last edit: 11/4/2011 7:20:23 PM)
show user profile  Dr. Jim
compression of format used in bitmap shown on webpage next to BROWSER reproduced HEX value?

...just a thought. Always figured browsers used some older web-safe color BS type stuff....
no clue mate.
read 338 times
11/4/2011 9:02:43 PM (last edit: 11/4/2011 9:02:43 PM)
show user profile  horizon
Not sure about gamma but HTML color values are definitely not corrected by a color profile.
Firefox recently started reading color profiles from jpg images, which made matching the image color to the html bg color impossible (solution: remove the color profile from the file in PS)

read 333 times
11/4/2011 9:32:23 PM (last edit: 11/4/2011 9:32:23 PM)
show user profile  Mr_Stabby
hex color actually is 24 bit RGB to begin with, with base of 16 you need 2 numbers to represent 256 values so first 2 are red (0-255), middle 2 are green and last 2 are blue

for example i have rgb 15, 3, 200 i get
15 = F
3 = 3
200 = B8

put it all together - 0F03B8 its simple no conversion needed

read 322 times
11/4/2011 11:04:58 PM (last edit: 11/4/2011 11:06:27 PM)
show user profile  Garp
Stabby, I think hex colors are in reverse order: BGR instead or RGB.
MF's famous 185 191 163 green shows as 0xA3BFB9.

Zee, this could be the problem (?):
"The web-safe colors are the 216 colors used by browsers regardless of the platform. The browser changes all colors in the image to these colors when displaying the image on an 8-bit screen. The 216 colors are a subset of the Mac OS 8-bit color palettes. By working only with these colors, you can be sure that art you prepare for the web will not dither on a system set to display 256 colors." (from photoshop's help)
You could grab a tool like Instant Eyedropper to check your values. Very handy, I use it all the time.

read 315 times
11/4/2011 11:29:47 PM (last edit: 11/4/2011 11:31:02 PM)
show user profile  Bolteon
photoshop is a POS when it comes to accurate color.

actually, most apps are.

-Marko Mandaric

read 312 times
11/4/2011 11:34:31 PM (last edit: 11/4/2011 11:34:31 PM)
show user profile  Kajico
As people said, image apps adjust to color profiles. Web browsers do not, it's not easy to color match an image to a background color in html. Your best solution is to make a small square to use as a repeatable background image to match the color of other images you have in the same area.

(\/) (°,,,°) (\/) Woop woop woop!

read 310 times
11/4/2011 11:41:34 PM (last edit: 11/4/2011 11:41:34 PM)
show user profile  zeefusion
Thanks for the help guys, it makes sense :) I will do as suggested and tile a jpeg background image instead of using HEX. Annoying though!

read 300 times
11/5/2011 3:25:24 AM (last edit: 11/5/2011 3:25:24 AM)
show user profile  Mr_Stabby
not the best solution tbh, ive had some people complain about web pages "flashing" by which they mean the 1ms when bgcolor is loaded and displaying while the background image is not. Personally i dont find it all that annoying but they still dont like it and afaik there is no way around it when using an image

@garp - yes you are right

read 290 times
11/5/2011 1:17:14 PM (last edit: 11/5/2011 1:18:16 PM)
#Maxforums IRC
Open chat window