color.html:

* fix color code conversion bug.
* add padLeft()
* fix color box bug