14 Replies Latest reply: Jul 4, 2012 7:36 AM by conroy RSS

    question about color changing

    tomliuwhite

      I am using PS CS6 on my win7 computer.

       

      This is my issue: I want to change the blue color of this button(http://photo.163.com/tomliutest/#m=2&aid=240826374&pid=7735901256) to this green color(http://photo.163.com/tomliutest/#m=2&aid=240826374&pid=7735901240). I want to have the color exactly the same. So

       

      1. I open the green color button, in Image->Adjustments->Replace color, I got the property of the color, which is: H:110 S:62 B:73 R:90 G:186 B:71, L:68 a:-46 b:48 C:67 M:0 Y:99 K:0 #5aba47, I wrote down these values,

      2. I open the blue color button, in Image->Adjustments->Replace color, replacement->result, I input all the values of green color, and I save the file. They are all png format.

      3. I open the one I just made(http://photo.163.com/tomliutest/#m=2&aid=240826374&pid=7735871516), I found the value is different from what I have input, the value was changed to H:110 S:60 B:72 R:91 G:183 B:71, L:67 a:-44 b:46 C:68 M Y:99 K:0 #5bb749

       

      So why this happened(value changed)? And if I want to make the color of two buttons EXACTLY the same, is there any way I can do it in PS? Thanks.

        • 1. Re: question about color changing
          c.pfaffenbichler Community Member

          Please post your images on this Forum.

          cameraIconInsertImage.jpg

           

          I consider Replace Color a professionally negligible function.

          I would recommend a Hue/Saturation Adjustment Layer (if necessary with a Layer Mask) and while editing that keeping an eye on the measurements in the Info Panel.

          • 2. Re: question about color changing
            tomliuwhite Community Member

            Thanks, c.pfaffenbichler.

            I am just studying PS, so not familiar with all the functions in PS, so as you mentioned "Hue/Saturation Adjustment Layer", could you suggest an tutorial about it?

            • 3. Re: question about color changing
              conroy Community Member

              To simply change one specific colour to another specific colour, there is nothing wrong with using Replace Color. It is designed to do exactly what you want.

               

              I expect the colour numbers change after saving then re-opening is due to translation between colour spaces. That is not going to be prevented by using a Hue/Saturation adjustment instead of Replace Color.

               

              To prevent that change, you can either maintain colour space throughout workflow or specify that numbers be preserved when moving between spaces.

              • 4. Re: question about color changing
                c.pfaffenbichler Community Member

                I expect the colour numbers change after saving then re-opening is due to translation between colour spaces. That is not going to be prevented by using a Hue/Saturation adjustment instead of Replace Color.

                The OP has not provided enough information to prove or disprove this assumption but its certainly a possibility.

                 

                And as the OP has not posted the images here I don’t know if it’s about photographic images or illustrations with basically flat color areas …

                 

                Edit: Also, the OP does not explicitly state whether the colors are of the intended values at the end of step 2 and before re-opening the file in step 3, so I currently still suspect the chosen operation might be the issue.

                • 5. Re: question about color changing
                  tomliuwhite Community Member

                  Hi conroy 2009, I think you are right. Can you tell me more details on how to "maintain colour space throughout workflow or specify that numbers be preserved when moving between spaces"?

                  BTW, I put the images below.

                  The blue button(I want to change to be like green button "New Job Seeker"):

                  pray (2).png

                  The green button:(H:110 S:62 B:73 R:90 G:186 B:71, L:68 a:-46 b:48 C:67 M:0 Y:99 K:0 #5aba47)

                  jobseekergreen.png

                  The final one:(H:110 S:60 B:72 R:91 G:183 B:71, L:67 a:-44 b:46 C:68 M Y:99 K:0 #5bb749)

                  pray.png

                  • 6. Re: question about color changing
                    conroy Community Member

                    Edit: deleted

                    • 7. Re: question about color changing
                      c.pfaffenbichler Community Member

                      And with a graphic so simple a Hue/Saturation Layer would not be the ideal solution indeed.

                      I would rather use a Solid Color Layer (or rather two) in this case.

                      • 8. Re: question about color changing
                        conroy Community Member

                        You need to read up on colour management. There have been posts in the last couple of days in this forum with links to information on the subject, so I'd start there. In Edit > Colour Settings... you change the options for converting colours. When you mouse over an entry, a description appears.

                        • 9. Re: question about color changing
                          conroy Community Member

                          I would rather use a Solid Color Layer (or rather two) in this case.

                           

                          Why do you recommend that he recreate the single colour artwork with Solid Color Layers instead of just a couple of clicks with Replace Color?


                          • 10. Re: question about color changing
                            c.pfaffenbichler Community Member

                            Better editability later on, less fuss with anti-aliased edge pixels of the white text, … 

                            • 11. Re: question about color changing
                              conroy Community Member

                              c.pfaffenbichler wrote:

                               

                              Better editability later on, less fuss with anti-aliased edge pixels of the white text, … 

                               

                              That's quite true, but I don't see where that fits into the stated requirement of the OP, i.e.  merely change one colour to another and maintain the colour after closing and re-opening the file.

                              • 12. Re: question about color changing
                                c.pfaffenbichler Community Member

                                The OP seems to be somewhat inexperienced with Photoshop, so I feel it’s OK to point out where they could do better work beyond what they figured out themselves is beyond their current understanding.

                                 

                                Which might have been that they converted to sRGB on saving the png, as you seem to have suspected earlier already.

                                • 13. Re: question about color changing
                                  c.pfaffenbichler Community Member

                                  Regarding the anti-aliased edge pixels a screenshot of the png with »Replaced Colors« and of a version with Solid Color Layers.

                                  buttonColorsScr.jpg

                                  • 14. Re: question about color changing
                                    conroy Community Member

                                    Thanks! Although Replace Color doesn't leave these miscoloured pixels if you make one or two additions to the sampled colour, I have to agree with you that the best result is achieved by recreating the artwork. I've just tried with Replace Color and it doesn't work as well as I recalled.