From b6efedfc8d6853a2a8b28bcdb6a4197666635adb Mon Sep 17 00:00:00 2001 From: Bart Mesuere Date: Mon, 30 Sep 2024 10:59:13 +0200 Subject: [PATCH] Improve the accessibility of the default colors used for graphs (#21839) * Update the first 10 colors to match the Observable10 scheme * Add darker and lighter variants --- src/common/color/colors.ts | 60 +++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/src/common/color/colors.ts b/src/common/color/colors.ts index a7f246e31e8a..a661562eadbe 100644 --- a/src/common/color/colors.ts +++ b/src/common/color/colors.ts @@ -1,36 +1,36 @@ import { theme2hex } from "./convert-color"; export const COLORS = [ - "#44739e", - "#984ea3", - "#00d2d5", - "#ff7f00", - "#af8d00", - "#7f80cd", - "#b3e900", - "#c42e60", - "#a65628", - "#f781bf", - "#8dd3c7", - "#bebada", - "#fb8072", - "#80b1d3", - "#fdb462", - "#fccde5", - "#bc80bd", - "#ffed6f", - "#c4eaff", - "#cf8c00", - "#1b9e77", - "#d95f02", - "#e7298a", - "#e6ab02", - "#a6761d", - "#0097ff", - "#00d067", - "#f43600", - "#4ba93b", - "#5779bb", + "#4269d0", + "#f4bd4a", + "#ff725c", + "#6cc5b0", + "#a463f2", + "#ff8ab7", + "#9c6b4e", + "#97bbf5", + "#01ab63", + "#9498a0", + "#094bad", + "#c99000", + "#d84f3e", + "#49a28f", + "#048732", + "#d96895", + "#8043ce", + "#7599d1", + "#7a4c31", + "#74787f", + "#6989f4", + "#ffd444", + "#ff957c", + "#8fe9d3", + "#62cc71", + "#ffadda", + "#c884ff", + "#badeff", + "#bf8b6d", + "#b6bac2", "#927acc", "#97ee3f", "#bf3947",