To install, download the zip either directly to your phone (open in iFile) or to a computer, and extract it to /var/mobile/Library/LockHTML - Now set the widget in LockHTML3. A respring may be required.
There are some settings in the JS file named time2color.js that you can use to customize HexClock.