Your challenge is to create a clock that displays the time as a hex number, and the background color as the hex color code of the time.

Requirements: No input. In the center of your output you should display the number sign and the current time in 24 hour format as "#hhmmss". The program should update to the current time at least once every second. The text must be centered and white (or a light color that stands out). The background should be entirely the color of the hex code. Shortest code wins, but creative answers are encouraged.

import time
from turtle import*
tracer(0) #1 not every change should be propagated immediatly
while 1:
reset() #2 remove previous drawing
ht() #3 hide the turtle
color("snow") #4 set color to snow, which is white for as far I can see
a=time.strftime("#%H%M%S") #5 generate the color from time
write(a,0,"center") #6 print time
bgcolor(a) #7 change bgcolor
update() #8 propagate changes

btw, because of the while 1, I'd recommend running it from terminal. As it can be quite difficult to close :D (you'll need ctrl+c)

Processing, 162 bytes

I don't know if it's against the rules, but the actual drawing area is the 100x100px square on the center of the window. For some reason, Processing can't scale down the window to that size, so it adds the gray margins around the drawing area. Here's another version without the gray margins, but slightly larger (198 bytes):