currently its a limitation in qlik sense. but you can achieve this in different way try below
Please try adding dimension through Master Items,
Once you have created, please go to the dimension and click on edit,
You will have two tabs, 1 for Edit dimension and 1 for value colours.
Inside the Value colors tab, you can set the color for specific dimension values.
Please check this link