# Why is the rgb value different for each editor?

Why is the rgb value different for each editor?
Help me understand the color scheme of Blender correctly please.
And here is a screenshot of the question.

i did some testing, and i just want to disclaim that this is just a theory, i dont know for a fact.

(Texturing editor thingy)

(Material)

i took one snapshot for every 0.1 value increase in both cases, and in one of them you can see the value increases exponentially, while in the other one its linear. this leads me to think that one of them works in 8 bit, and the other works in 16 bit.

another theory can be that color works differently from what most people think, that its not linear. i know light is not linear, so maybe the exponential model is more accurate, however, the linear one is easier to texture with.

i mean trying to select a spesific bright colour with the exponential model would be very hard so just to make it easier for the artist they made that one linear.

again, these are just two theories, i dont actually know, but i find this very interesting and i would like to know for sertain myself.

one thing i found that COULD disprove the theory that one is 8 bit and one is 16 bit is the fact that if i set it to 32 bit, it still behaves in a linear manner. this also strengthens the second theory that its simply just to make it easier while texturing.

You are right, I did your test and more =

YOUR TEST VERIFIED =

Create a material with color RGB = ( 1, 0.5, 1 )

Now go to Vertex Paint and select the same color RGB = ( 1, 0.5, 1)

Indeed they look very different.

IT GETS WORSE =

Now switch those colors to HSV.

In the Vertex paint panel, RGB ( 1, 0.5, 1) becomes HSV ( 0.833, 0.5, 1)

In the Material, RGB (1, 0.5, 1) becomes HSV ( 0.833, 0.265, 1)

I thought RGB <----> HSV conversion was standard and always the same.

But they seem different. What’s going on ? Somewhere near lies the answer
to the original question.

HSV and RGB is the same… same with CMYK, its just different ways to display colour. any RBG value converted into HSV or CMYK will result in the same RBG value if converted back.

you may comvert from RBG>CMYK>HSV and then back to RBG and still end up with the same value as you started with.

however blender does not display them as values from 0-255 (8bit) or 0-64435 (16bit) its displayed with a value from 0-1 and with desimal points in between.

blender has 1000 values of colour, which is enough to display 8bit’s 256 colours. however its not NEARLY enough to display 16 bit’s 65k colours, so to cover as much of the spectrum as possible it tries to compress 65k values into 1k.

just to take an example. https://gyazo.com/f5efb14ab16dee1aa71bb973a39b9b89

this is a 32bit image, looking stright at the sun. to us, its just all white, but if you look at the values on the bottom, blender sees them as VERY different. when i hover over the sun at a sertain spot, you can see the value spike to 65k and beyond, that means that spot is 65 times brighter than the spot RIGHT next to it. this is not artist friendly at all, cause we only see white. so to cover more of the spectrum, it makes everything darker so that we can see more of the colours.

Converting form 32bit to 8bit

as you see, everything gets darker, but the sun is still pure white…

now this is a bit of an extreme example, as we use 32 and 8 bit, but the same happens between 16 and 8 bit too. just not so intense.

Thank you both for your answers.
I did not understand the principle part yet, but I could understand that Blender’s editors have different color definition methods
because linear and exponential methods have advantages and disadvantages depending on the purpose.
I hope that I will be able to fully understand this topic in the future.

finalbarrage thanks for your answers,

but I do not think you answer the main question, which was

[1] why the SAME RGB values look different in Material and Vertex Paint panels ?

[2] And also my question which was how come the same RGB is converted to different HSV ?
(sure if you convert it back it reverts to the same RGB, but why are the HSVs different ?)

i did answer both of those…

short answers:

1. one is 8bit one is 16 bit

2. no matter if you use RGB HSB CMYK or whatever else, you still carry the same data. so no matter now much you convert between them its still going to be the same colour.