From 138468287cb68b0cf86b18648a78f155ddc76e25 Mon Sep 17 00:00:00 2001 From: sneak Date: Thu, 26 Feb 2026 03:27:48 +0700 Subject: [PATCH] Fix address color palette to use equally saturated colors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace mixed-saturation palette with 16 hues evenly spaced at 22.5° intervals, all at HSL(h, 70%, 50%) for uniform vibrancy. --- src/popup/views/helpers.js | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/src/popup/views/helpers.js b/src/popup/views/helpers.js index fb48ca8..687b5b8 100644 --- a/src/popup/views/helpers.js +++ b/src/popup/views/helpers.js @@ -99,23 +99,25 @@ function balanceLinesForAddress(addr) { 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 = [ - "#e6194b", - "#3cb44b", - "#4363d8", - "#f58231", - "#911eb4", - "#42d4f4", - "#f032e6", - "#bfef45", - "#fabed4", - "#469990", - "#dcbeff", - "#9a6324", - "#800000", - "#aaffc3", - "#808000", - "#000075", + "#d92626", + "#d96926", + "#d9ac26", + "#c2d926", + "#80d926", + "#3dd926", + "#26d953", + "#26d996", + "#26d9d9", + "#2696d9", + "#2653d9", + "#3d26d9", + "#8026d9", + "#c226d9", + "#d926ac", + "#d92669", ]; function addressColor(address) {