(flet ((color-td (r g b)
(let ((color (format nil "#~2,'0x~2,'0x~2,'0x" r g b)))
(html ((:td :bgcolor color
- :fformat (:onclick "f42('~a');"
- color))" ")))))
+ :fformat (:onclick "f42('~a');"
+ color))" ")))))
(let* ((colors nil))
(dotimes (r 6)
(dotimes (g 6)
(dotimes (b 6)
(push (list (* r 51) (* g 51) (* b 51)(luminance r g b))
- colors))))
+ colors))))
(setf colors (sort colors #'> :key 'fourth))
(html
(:head
:br
((:div :align "center")
((:a :class "call" :href "javascript:window.close();")
- "Close")))))))
+ "Close")))))))