<form action="">
  <label for="color">What's the name of your favorite color?</label>
  <input type="text" id="color" list="colors_data">
  <datalist id="colors_data">
    <option value="Red">Red</option>
    <option value="Orange"><label>Orange</label></option>
    <option value="Blue">Blue <label>The color of the sky</label></option>
  </datalist>
</form>
body {
  padding: 2rem;
}

datalist option label {
  color: red;
}
View Compiled

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/foundation/6.5.0/css/foundation.min.css

External JavaScript

This Pen doesn't use any external JavaScript resources.