coloclock 抵抗器のカラーコードで時刻を表示するjavascript clock.htmlにjavascriptとフォーマットを両方詰めてあります。 サンプル: https://angiodianxin.github.io/ResistorColorClock