This template makes refreshing precipitation days background colors. Template:Infobox weather/oneline/date will apply a length of month multiplication factor in this template's parameter, so that 28.25 days in February, 30 days in a 30-day month, 31 days in a 31-day month, and 365.25 days in a year, will appear as navy blue (#000080).

Days of precipitation in a 30-day month
0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8
2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8
4.0 4.2 4.4 4.6 4.8 5.0 5.2 5.4 5.6 5.8
6.0 6.2 6.4 6.6 6.8 7.0 7.2 7.4 7.6 7.8
8.0 8.2 8.4 8.6 8.8 9.0 9.2 9.4 9.6 9.8
10.0 10.2 10.4 10.6 10.8 11.0 11.2 11.4 11.6 11.8
12.0 12.2 12.4 12.6 12.8 13.0 13.2 13.4 13.6 13.8
14.0 14.2 14.4 14.6 14.8 15.0 15.2 15.4 15.6 15.8
16.0 16.2 16.4 16.6 16.8 17.0 17.2 17.4 17.6 17.8
18.0 18.2 18.4 18.6 19.0 19.2 19.4 19.6 19.8 20.0
20.2 20.4 20.6 20.8 21.0 21.2 21.4 21.6 21.8 22.0
22.2 22.4 22.6 22.8 23.0 23.2 23.4 23.6 23.8 24.0
24.2 24.4 24.6 24.8 25.0 25.2 25.4 25.6 25.8 26.0
26.2 26.4 26.6 26.8 27.0 27.2 27.4 27.6 27.8 28.0
28.2 28.4 28.6 28.8 29.0 29.2 29.4 29.6 29.8 30.0
Days of precipitation a year
0 2 4 6 8 10 12 14 16 18
20 22 24 26 28 30 32 34 36 38
40 42 44 46 48 50 52 54 56 58
60 62 64 66 68 70 72 74 76 78
80 82 84 86 88 90 92 94 96 98
100 102 104 106 108 110 112 114 116 118
120 122 124 126 128 130 132 134 136 138
140 142 144 146 148 150 152 154 156 158
160 162 164 166 168 170 172 174 176 178
180 182 184 186 190 192 194 196 198 200
202 204 206 208 210 212 214 216 218 220
222 224 226 228 230 232 234 236 238 240
242 244 246 248 250 252 254 256 258 260
262 264 266 268 270 272 274 276 278 280
282 284 286 288 290 292 294 296 298 300