add 24-bit color support