Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

Having color problem with CSS


  • Please log in to reply
2 replies to this topic

#1 Ehsan0101


    CC Regular

  • Member
  • PipPipPip
  • 38 posts
  • Location:Dhaka, Bangladesh
  • Learning:C#, Visual Basic .NET

Posted 26 March 2012 - 07:49 PM

I having a problem with color. My client use Mac OS and I use Windows. My client sent me an image to add his page as background. But Color dosn't match with image and CSS color code. I opened this image by photoshop and pick the color by color picker and pest into the CSS code, that was
background:#84d2e0 url(img/bg.png) 0% 90% no-repeat;
and it is browser preview:- Mozilla: gchrome.jpg

Please help me how can I fix this problem

thanking again

Attached Thumbnails

  • mozilla.jpg

  • 0

#2 fread


    Programming God

  • Senior Member
  • PipPipPipPipPipPip
  • 897 posts
  • Location:Trinidad and Tobago
  • Learning:C, Java, C++, C#, PHP, Python, PL/SQL

Posted 26 March 2012 - 08:56 PM

I don't mean to kill you with stack, but it seems other people have had the same issue:
css - Background image color changes firefox/chrome - Stack Overflow
html - background-color:#070707; different in photoshop than in browser - Stack Overflow
firefox - Can I get consistent CSS colors across browsers? - Stack Overflow
  • 0

#3 Orjan


    CC Mentor

  • Moderator
  • 2918 posts
  • Location:Karlstad, Sweden
  • Programming Language:C, Java, C++, C#, PHP, JavaScript, Pascal
  • Learning:Java, C#

Posted 27 March 2012 - 12:57 AM

This is a problem. Me, I don't trust a image to have the same colors as a webpage anywhere, so if someone makes a image like that, I'll usually ask them to make a transparent png image which can be put on top of the background color.
  • 0

I'm a System developer at XLENT Consultant Group mainly working with SugarCRM.
Please DO NOT send mail or PM to me with programming questions, post them in the appropriate forum instead, where I and others can answer you.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download