change color of selected option text in select using dom code example
Example: how to make option colour black in html
echo '
<style>
option {
background-color: black !important;
}
</style>
';
echo '
<style>
option {
background-color: black !important;
}
</style>
';