A method for independently adjusting six color classes with the
consideration of boundary colors on a display device comprises steps of:
detecting a plurality of pixels of a display device and calculate a first
tint and a second tint of the pixels; defining a first pixel, the first
tint and second tint of the first pixel both locating in the targeted
color class; defining a second pixel, the second pixel being close to the
first pixel, and the first tint and the second tint of the second pixel
both locating in the neighboring of the targeted color class; defining a
third pixel, said third pixel being neither the first pixel nor the
second pixel; finding the first pixel and second pixel and adjusting
their colors; and finding the third pixel and keeping its original color.