I implemented Spectrum's color picker just fine
$(document).ready(function() {
$("#font_color").spectrum({
color: "#f00"
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdn.rawgit.com/bgrins/spectrum/master/spectrum.js"></script>
<link href="https://cdn.rawgit.com/bgrins/spectrum/master/spectrum.css" rel="stylesheet"/>
<input type="text" id="font_color" />
But I don't know how to get the value inside the texfield using javascript. Can someone help me?