Hi @shikha sitoke ,
You can create a static entity with colors and their color codes and assign it to the dropdown.


then create a local variable to assign a color and assign that var to dropdown and add a style property to the icon as shown below.

Adding the OML for better understanding, refer the icon color screen.
Regards.
Jozy.