Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 8e10de3

Browse files
committed
Improve priority colors (brighter)
1 parent ef7c109 commit 8e10de3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/ramobjectdelegates/ramobjectdelegate.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -258,32 +258,32 @@ QColor RamObjectDelegate::priorityColor(qreal priority)
258258
{
259259
if (priority < .75) {
260260
qreal v = Interpolations::linear(priority, .5, .75, 0, 1);
261-
QColor c(88, 95, 191);
261+
QColor c(250, 237, 95);
262262
c.setAlpha(v*256);
263263
return c;
264264
}
265265
else if (priority < 1) {
266266
qreal v = Interpolations::linear(priority, .75, 1, 0, 1);
267267

268268
return ColorUtils::interpolateRGB(
269-
QColor(88, 95, 191),
270-
QColor(195, 121, 69),
269+
QColor(250, 237, 95),
270+
QColor(250, 160, 36),
271271
v );
272272
}
273273
else if (priority < 2) {
274274
qreal v = Interpolations::linear(priority, 1, 2, 0, 1);
275275

276276
return ColorUtils::interpolateRGB(
277-
QColor(195, 121, 69),
278-
QColor(154, 25, 45),
277+
QColor(250, 160, 36),
278+
QColor(250, 20, 20),
279279
v );
280280
}
281281
else {
282282
qreal v = Interpolations::linear(priority, 2, 3, 0, 1);
283283

284284
return ColorUtils::interpolateRGB(
285-
QColor(154, 25, 45),
286-
QColor(127, 52, 157),
285+
QColor(250, 20, 20),
286+
QColor(250, 20, 230),
287287
v );
288288
}
289289
return QColor();

0 commit comments

Comments
 (0)