Fix KMS mode.

Wrong color format was used.