Fix address color palette to use equally saturated colors
Some checks failed
check / check (push) Has been cancelled
Some checks failed
check / check (push) Has been cancelled
Replace mixed-saturation palette with 16 hues evenly spaced at 22.5° intervals, all at HSL(h, 70%, 50%) for uniform vibrancy.
This commit is contained in:
@@ -99,23 +99,25 @@ function balanceLinesForAddress(addr) {
|
|||||||
return html;
|
return html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 16 colors evenly spaced around the hue wheel (22.5° apart),
|
||||||
|
// all at HSL saturation 70%, lightness 50% for uniform vibrancy.
|
||||||
const ADDRESS_COLORS = [
|
const ADDRESS_COLORS = [
|
||||||
"#e6194b",
|
"#d92626",
|
||||||
"#3cb44b",
|
"#d96926",
|
||||||
"#4363d8",
|
"#d9ac26",
|
||||||
"#f58231",
|
"#c2d926",
|
||||||
"#911eb4",
|
"#80d926",
|
||||||
"#42d4f4",
|
"#3dd926",
|
||||||
"#f032e6",
|
"#26d953",
|
||||||
"#bfef45",
|
"#26d996",
|
||||||
"#fabed4",
|
"#26d9d9",
|
||||||
"#469990",
|
"#2696d9",
|
||||||
"#dcbeff",
|
"#2653d9",
|
||||||
"#9a6324",
|
"#3d26d9",
|
||||||
"#800000",
|
"#8026d9",
|
||||||
"#aaffc3",
|
"#c226d9",
|
||||||
"#808000",
|
"#d926ac",
|
||||||
"#000075",
|
"#d92669",
|
||||||
];
|
];
|
||||||
|
|
||||||
function addressColor(address) {
|
function addressColor(address) {
|
||||||
|
|||||||
Reference in New Issue
Block a user