Good ideas and conversation. No ads, no tracking. Login or Take a Tour!
user-inactivated · 3874 days ago · link · · parent · post: A clock that displays time in HEX values and changes colors
Meh. It only spans up to (23,59,59) and skips values A-F. As a result it's always a boring shade of blue. Calculating the exact channel values so it spans the entire RGB colorspace isn't very complicated: green = (minutes * 255) / 60; blue = (seconds * 255) / 60;red = (hour * 255) / 24;