html select option display value with empty color div and display value : i need the html select option dispaly value with empty color div and display value.

how do we do that with html,js or jquery?

i attached png value i need like that.

Thanks.[this is what i need]


  [1]: https://i.stack.imgur.com/OysaJ.png