Open marvinsantiago opened 9 years ago
@santiagomarvin check out the styling to change colors when the clock "ticks"
@santiagomarvin on tick, set the background color to use rgb values where you spread set r
to hours, g
to mins, and b
to seconds. For the best results you'll want 60 seconds to be spread across all 255 possible blue colors and so on for 60 mins and 12 hours.
Deliverables
Requirements
console.log
the percentage of a minute that the current seconds represents (e.g., if 30 seconds have elapsed,console.log
0.5)console.log
a hexidecimal color that is based on the current second every second.radix
should = 16