A method for color correction in an endoscopic camera system having a camera, a light source and a controller, the method comprising: setting a first light source drive current level; performing a first white balance operation and obtaining at least one of red gain, blue gain and green gain values corresponding to the first light source drive current level; setting a second light source drive current level different than the first light source drive current level; performing a second white balance operation and obtaining at least one of red gain, blue gain and green gain values corresponding to the second light source drive current level; setting a third light source drive current level different than the first light source drive current level and the second light source drive current level; performing a third white balance operation and obtaining at least one of red gain, blue gain and green gain values corresponding to the third light source drive current level; determining a relationship between the light source drive current levels and at least one of the red gain, blue gain and green gain values using the obtained at least one of red gain, blue gain and green gain values corresponding to the first, second and third light source drive current levels, and using the three data points to establish whether a linear relationship exists between drive current and the change in gain needed; and if the relationship between drive current and color change is not determined to be substantially linear, then performing additional white balance operations at additional drive current levels to further establish the necessary gain for different output levels; and generating a light source control table comprising at least one of a red gain value, a blue gain value and a green gain value for each light source drive current level. setting a first light source drive current level; performing a first white balance operation and obtaining at least one of red gain, blue gain and green gain values corresponding to the first light source drive current level; setting a second light source drive current level different than the first light source drive current level; performing a second white balance operation and obtaining at least one of red gain, blue gain and green gain values corresponding to the second light source drive current level; setting a third light source drive current level different than the first light source drive current level and the second light source drive current level; performing a third white balance operation and obtaining at least one of red gain, blue gain and green gain values corresponding to the third light source drive current level; determining a relationship between the light source drive current levels and at least one of the red gain, blue gain and green gain values using the obtained at least one of red gain, blue gain and green gain values corresponding to the first, second and third light source drive current levels, and using the three data points to establish whether a linear relationship exists between drive current and the change in gain needed; and if the relationship between drive current and color change is not determined to be substantially linear, then performing additional white balance operations at additional drive current levels to further establish the necessary gain for different output levels; and generating a light source control table comprising at least one of a red gain value, a blue gain value and a green gain value for each light source drive current level.