Is there a way to change the text color of a hidden option in select dropdowns? I want the hidden option to display as a placeholder text, not selectable, and have its text displayed in red. However, I don't want the placeholder text to appear as an actual element in the select dropdown itself.
I've tried applying styles directly to the element, but so far nothing has worked for me.
select option[hidden] {
color: red;
}
<select>
<option value="" hidden selected style="color: red;">Numbers</option>
<option value="1">One</option>
<option value="2">Two</option>
</select>