function state_classes(updateall) {
var value = display.value * 1, tempcolor;
for (var i = 1; i <= 118; i++) {
...
JavaScript Color elements by state of ...
Logic is cheap and DOM is e...
JavaScript On Hex color between two colors
by Lucent,
April 30, 2008 23:10
Beautiful! I noticed the su...
function calc_color(value, start, end, min, max) {
var n = (value - min) / (max - min);
var s = parseInt(start.replace("#", ""), 16);
...
JavaScript Hex color between two colors
Watch out for edge cases, l...
I'm using the built-in date...