#! /bin/ash IFS=: { read colval colname while [ -n "$colval" ] do printf ".fg_%-5s { color: %s; } .bg_%-5s { background-color: %s; }\n" $colname $colval $colname $colval read colval colname done } <<_E_O_F_ >cols-hks.css #FBEF81:hks1 #EEEE00:hks2 #FFFF00:hks3 #F5D300:hks4 #F3C200:hks5 #F0A500:hks6 #EC870E:hks7 #EA7C13:hks8 #E4481F:hks10 #F4A77B:hks11 #E44826:hks12 #DE002E:hks13 #DF0029:hks14 #D0003A:hks15 #AE1732:hks16 #AF1044:hks17 #7B213E:hks18 #F29496:hks21 #E33539:hks22 #E00047:hks23 #E10057:hks24 #E2006C:hks25 #C20063:hks26 #DA007F:hks27 #C1005D:hks28 #92007B:hks29 #C3007D:hks31 #D3007E:hks32 #81007B:hks33 #5D067B:hks34 #4A2885:hks35 #5D2985:hks36 #4C0F7B:hks37 #061E35:hks38 #326CB3:hks39 #0088B7:hks40 #102045:hks41 #353A90:hks42 #2D4B9B:hks43 #0069B3:hks44 #434E9C:hks45 #0082BC:hks46 #00B2EB:hks47 #00B0DC:hks48 #0096C8:hks49 #5DC1E9:hks50 #00A4A4:hks51 #00A597:hks52 #00AF8C:hks53 #00946D:hks54 #007A63:hks55 #006854:hks56 #008659:hks57 #396F48:hks58 #008984:hks59 #00A646:hks60 #083909:hks61 #717432:hks62 #3D7E2D:hks63 #009B4E:hks64 #46B82F:hks65 #5BC72B:hks66 #5DBD3A:hks67 #CBC300:hks68 #CCE100:hks69 #DC9710:hks71 #DB8D14:hks72 #C87A04:hks73 #825200:hks74 #6E5A1F:hks75 #402105:hks76 #5C3120:hks77 #792F2F:hks78 #D45521:hks81 #DD3415:hks82 #883728:hks83 #70261E:hks84 #000000:hks88 #B7AD8D:hks89 #3E352C:hks90 #9EA49E:hks91 #5B5F62:hks92 #393F3F:hks93 #96947F:hks95 #7D7B6A:hks96 #25251F:hks97 _E_O_F_