changing to meet actual method purpose.

Applying changes due to misunderstood what the original method `convertColorDepth()` does.