fix typo in getStyleColor