fix color code type