d3.scaleLinear() returns an rgb string value although the range is mapped with hex values. Is there something incorrect in my usage?
const value = 0;
col = d3.scaleLinear().domain([0, 16000]).range(["#ffdc00","#ffa900"]);
console.log(col(value));
//returns rgb(255, 220, 0)