New heat bands for UTCI and Air -using latest research values
This commit is contained in:
fraxle
2026-07-09 11:41:31 +01:00
parent e2f8f8cc53
commit eea78c2bc4
5 changed files with 38 additions and 24 deletions
+5 -6
View File
@@ -41,12 +41,11 @@ export const UTCI_BANDS = [
{ max: 10, label: 'Cold', bg: '#b8e0e8', fg: '#1a1200' },
{ max: 15, label: 'Chilly', bg: '#b8e8d8', fg: '#1a1200' },
{ max: 19, label: 'Cool', bg: '#c5e8c0', fg: '#1a1200' },
{ max: 24, label: 'Comfortable', bg: '#90d090', fg: '#157a15', fontWeight: 700 },
{ max: 29, label: 'Warm', bg: '#f8e554', fg: '#1a1200' },
{ max: 34, label: 'Hot', bg: '#f5aa54', fg: '#1a1200' },
{ max: 39, label: 'Very hot', bg: '#f5884a', fg: '#1a1200' },
{ max: 44, label: 'Extremely hot', bg: '#dd5454', fg: '#000000' },
{ label: 'Danger', bg: '#880000', fg: '#ffffff', fontWeight: 700, darkenAmt: 0.18, textShadow: '-1px -1px 0 #3a0000, 1px -1px 0 #3a0000, -1px 1px 0 #3a0000, 1px 1px 0 #3a0000', solid: true },
{ max: 24, label: 'Comfortable', bg: '#90d090', fg: '#157a15', fontWeight: 700 },
{ max: 27, label: 'Warm', bg: '#f8e554', fg: '#1a1200' },
{ max: 32, label: 'Caution', bg: '#f5aa54', fg: '#1a1200' },
{ max: 41, label: 'Extreme', bg: '#f5884a', fg: '#000000' },
{ label: 'Danger', bg: '#880000', fg: '#ffffff', fontWeight: 700, darkenAmt: 0.18, textShadow: '-1px -1px 0 #3a0000, 1px -1px 0 #3a0000, -1px 1px 0 #3a0000, 1px 1px 0 #3a0000', solid: true },
];
export function utciCategory(u) {