Skip to content

Commit

Permalink
Improve the accessibility of the default colors used for graphs (#21839)
Browse files Browse the repository at this point in the history
* Update the first 10 colors to match the Observable10 scheme

* Add darker and lighter variants
  • Loading branch information
bmesuere authored Sep 30, 2024
1 parent 23c21a3 commit b6efedf
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions src/common/color/colors.ts
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit b6efedf

Please sign in to comment.