@@ -29,59 +29,33 @@ bool const MEMPOOL_GRAPH_LOGGING = true;
2929bool const ADD_TOTAL_TEXT = true ;
3030
3131const static std::vector<QColor> colors = {
32- QColor (100 , 149 , 237 , 255 ), // Cornflower Blue (very low fee)
33- QColor (65 , 105 , 225 , 255 ), // Royal Blue
34- QColor (0 , 0 , 205 , 255 ), // Medium Blue
35- QColor (0 , 191 , 255 , 255 ), // Deep Sky Blue
36- QColor (0 , 128 , 128 , 255 ), // Teal
37- QColor (0 , 139 , 139 , 255 ), // Dark Cyan
38- QColor (0 , 255 , 127 , 255 ), // Spring Green
39- QColor (50 , 205 , 50 , 255 ), // Lime Green
40- QColor (34 , 139 , 34 , 255 ), // Forest Green
41- QColor (124 , 252 , 0 , 255 ), // Lawn Green
42- QColor (173 , 255 , 47 , 255 ), // Green Yellow
43- QColor (255 , 255 , 0 , 255 ), // Yellow
44- QColor (255 , 215 , 0 , 255 ), // Gold
45- QColor (255 , 165 , 0 , 255 ), // Orange
46- QColor (255 , 140 , 0 , 255 ), // Dark Orange
47- QColor (255 , 99 , 71 , 255 ), // Tomato
48- QColor (255 , 69 , 0 , 255 ), // Orange Red
49- QColor (255 , 0 , 0 , 255 ), // Red
50- QColor (220 , 20 , 60 , 255 ), // Crimson
51- QColor (178 , 34 , 34 , 255 ), // Firebrick
52- QColor (139 , 0 , 0 , 255 ), // Dark Red
53- QColor (128 , 0 , 0 , 255 ), // Maroon
54- QColor (160 , 82 , 45 , 255 ), // Sienna
55- QColor (139 , 69 , 19 , 255 ), // Saddle Brown
56- QColor (105 , 105 , 105 , 255 ), // Dim Gray
57- QColor (70 , 130 , 180 , 255 ), // Steel Blue
58- QColor (112 , 128 , 144 , 255 ), // Slate Gray
59- QColor (47 , 79 , 79 , 255 ), // Dark Slate Gray (very high fee, almost black)
60- QColor (112 , 128 , 144 , 255 ), // Slate Gray
61- QColor (70 , 130 , 180 , 255 ), // Steel Blue
62- QColor (105 , 105 , 105 , 255 ), // Dim Gray
63- QColor (139 , 69 , 19 , 255 ), // Saddle Brown
64- QColor (160 , 82 , 45 , 255 ), // Sienna
65- QColor (128 , 0 , 0 , 255 ), // Maroon
66- QColor (139 , 0 , 0 , 255 ), // Dark Red
67- QColor (178 , 34 , 34 , 255 ), // Firebrick
68- QColor (220 , 20 , 60 , 255 ), // Crimson
69- QColor (255 , 0 , 0 , 255 ), // Red
70- QColor (255 , 69 , 0 , 255 ), // Orange Red
71- QColor (255 , 99 , 71 , 255 ), // Tomato
72- QColor (255 , 140 , 0 , 255 ), // Dark Orange
73- QColor (255 , 165 , 0 , 255 ), // Orange
74- QColor (255 , 215 , 0 , 255 ), // Gold
75- QColor (255 , 255 , 0 , 255 ), // Yellow
76- QColor (173 , 255 , 47 , 255 ), // Green Yellow
77- QColor (124 , 252 , 0 , 255 ), // Lawn Green
78- QColor (34 , 139 , 34 , 255 ), // Forest Green
79- QColor (50 , 205 , 50 , 255 ), // Lime Green
80- QColor (0 , 255 , 127 , 255 ), // Spring Green
81- QColor (0 , 139 , 139 , 255 ), // Dark Cyan
82- QColor (0 , 128 , 128 , 255 ), // Teal
83- QColor (0 , 191 , 255 , 255 ), // Deep Sky Blue
84- QColor (0 , 0 , 205 , 255 ), // Medium Blue
85- QColor (65 , 105 , 225 , 255 ), // Royal Blue
86- QColor (100 , 149 , 237 , 255 ), // Cornflower Blue (very low fee)
32+ // Hue ranges from 120 (Green) down to 0 (Red)
33+ QColor::fromHsv (120 , 255 , 255 ), // Bright Green
34+ QColor::fromHsv (115 , 255 , 255 ),
35+ QColor::fromHsv (110 , 255 , 255 ),
36+ QColor::fromHsv (105 , 255 , 255 ),
37+ QColor::fromHsv (100 , 255 , 255 ),
38+ QColor::fromHsv (95 , 255 , 255 ),
39+ QColor::fromHsv (90 , 255 , 255 ),
40+ QColor::fromHsv (85 , 255 , 255 ),
41+ QColor::fromHsv (80 , 255 , 255 ),
42+ QColor::fromHsv (75 , 255 , 255 ), // Lime/Yellow-Green
43+ QColor::fromHsv (70 , 255 , 255 ),
44+ QColor::fromHsv (65 , 255 , 255 ),
45+ QColor::fromHsv (60 , 255 , 255 ), // Yellow
46+ QColor::fromHsv (55 , 255 , 255 ),
47+ QColor::fromHsv (50 , 255 , 255 ),
48+ QColor::fromHsv (45 , 255 , 255 ),
49+ QColor::fromHsv (40 , 255 , 255 ), // Yellow-Orange
50+ QColor::fromHsv (35 , 255 , 255 ),
51+ QColor::fromHsv (30 , 255 , 255 ),
52+ QColor::fromHsv (25 , 255 , 255 ),
53+ QColor::fromHsv (20 , 255 , 255 ), // Orange
54+ QColor::fromHsv (15 , 255 , 255 ),
55+ QColor::fromHsv (10 , 255 , 255 ),
56+ QColor::fromHsv (5 , 255 , 255 ),
57+ QColor::fromHsv (0 , 255 , 255 ), // Red
58+ QColor::fromHsv (0 , 255 , 200 ), // Darker Red
59+ QColor::fromHsv (0 , 255 , 150 ), // Even Darker Red
60+ QColor (70 , 70 , 70 , 255 ) // Final dark gray/black for extreme values
8761};
0 commit comments