Photoshop CS6 and CC change color values slightly when the fill tools are used

  • 2
  • Problem
  • Updated 3 years ago
  • (Edited)
I am seeing a very frustrating behavior in my Photoshop CS6. Someone on the forums reproduced this problem as well on CC on both Mac and Windows10

I am using PS to generate a color map that will drive a game engine to create an in-game landscape. Each pixel is one tile of the world. The color put into the pixel drives what terrain type the tile is. As a result of this method, the color of each pixel must be exactly what we expect it to be.

Sometimes, when I use the Fill or Paint Bucket to flood fill areas of this very large map, I get a color that is 1 off in R, G or B. This results in errors in the game engine.

For instance, the engine expects a color of 61, 76, 20

When I set the color to these values and then flood fill (using either the Paint Bucket or the Fill command) what I get is 61, 76, 21. Wow!

PS is set to:
Mode = RGB 8bit
Color management = Off
Paint Bucket settings = Nonantialiased, Tolerance = 0, Contiguous, Mode = Normal
Fill = Foreground Color, 100%, Normal

When I use the Pencil tool (100% hardenss, 1 px), I get the exact color I am looking for.

I have been using PS to do work like this for 20 years and never seen anything like this. Has anyone else seen this? If so, do you know why it is happening? Can it be fixed? This is a very vanilla use for PS; should NOT be happening.
41 Views Tags: wrong colorsContent tagged with wrong colors, fill toolContent tagged with fill tool
Photo of Charles London

Charles London

  • 1 Post
  • 0 Reply Likes

Posted 3 years ago

  • 2
Photo of Gener7


  • 91 Posts
  • 39 Reply Likes
I'm seeing 61,76,20 when applied as a fill show up as 61,77,21 in both my PC and Mac when reading the values in the Info Panel.

Doc Mode: RGB/8

Color Settings: N.A. General 2

All Tools default.

It's not critical to what I do, but I am interesting in knowing what is going on.