Kien
09-11-2009, 08:37 PM
I wonder how you get the color that lies in the middle of 2 colors. Like drawing a straight line in color space between 2 points and get the middle point of it, which doesn't work...
If you make a gradient in a photoshop you will not get the real color in the middle of it. The color you get will be darker than what it should be. For example if you make green go towards red, you will not get pure yellow in the middle. You will get yellow with only half value (brightness). This is simply the way gradient tool works.
Here are 2 pictures of the RGB color cube.
https://users.cs.jmu.edu/bernstdh/web/common/lectures/images/rgb-cube.gif
http://mvh.sr.unh.edu/mvhinvestigations/images/color_space.png
If you draw a line between red and yellow you will get orange which is correct. Orange is what you get when you have mix of red and yellow, it lies in the middle of them.
But if you draw a line between red and green you will not get yellow in the middle of the line. You will get a dark kind of yellow since yellow lies in the corner and not in the middle of a straight line between red and green.
Seems tricky. Anyone knows how to do? And if you wonder, this is all just my curiosity. :)
If you make a gradient in a photoshop you will not get the real color in the middle of it. The color you get will be darker than what it should be. For example if you make green go towards red, you will not get pure yellow in the middle. You will get yellow with only half value (brightness). This is simply the way gradient tool works.
Here are 2 pictures of the RGB color cube.
https://users.cs.jmu.edu/bernstdh/web/common/lectures/images/rgb-cube.gif
http://mvh.sr.unh.edu/mvhinvestigations/images/color_space.png
If you draw a line between red and yellow you will get orange which is correct. Orange is what you get when you have mix of red and yellow, it lies in the middle of them.
But if you draw a line between red and green you will not get yellow in the middle of the line. You will get a dark kind of yellow since yellow lies in the corner and not in the middle of a straight line between red and green.
Seems tricky. Anyone knows how to do? And if you wonder, this is all just my curiosity. :)
