Fix color type of style