fix color convert

Signed-off-by: tengattack <tengattack@foxmail.com>